12 EFI_PEI_PPI_DESCRIPTOR_NOTIFY_DISPATCH | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST,
13 &gEfiPeiSecurity2PpiGuid,
31 if (OldCoreData ==
NULL) {
68 if (PrivateData->PrivateSecurityPpi ==
NULL) {
92 IN UINT32 AuthenticationStatus
96 BOOLEAN DeferExecution;
98 Status = EFI_NOT_FOUND;
99 if (PrivateData->PrivateSecurityPpi ==
NULL) {
103 if ((AuthenticationStatus & EFI_AUTH_STATUS_IMAGE_SIGNED) != 0) {
104 if ((AuthenticationStatus & (EFI_AUTH_STATUS_TEST_FAILED | EFI_AUTH_STATUS_NOT_TESTED)) != 0) {
105 Status = EFI_SECURITY_VIOLATION;
112 Status = PrivateData->PrivateSecurityPpi->AuthenticationState (
114 PrivateData->PrivateSecurityPpi,
115 AuthenticationStatus,
120 if (DeferExecution) {
121 Status = EFI_SECURITY_VIOLATION;
EFI_STATUS EFIAPI PeiServicesNotifyPpi(IN CONST EFI_PEI_NOTIFY_DESCRIPTOR *NotifyList)
#define PEI_CORE_INSTANCE_FROM_PS_THIS(a)
VOID * EFI_PEI_FILE_HANDLE
VOID InitializeSecurityServices(IN EFI_PEI_SERVICES **PeiServices, IN PEI_CORE_INSTANCE *OldCoreData)
EFI_STATUS VerifyFv(IN EFI_FIRMWARE_VOLUME_HEADER *CurrentFvAddress)
EFI_STATUS VerifyPeim(IN PEI_CORE_INSTANCE *PrivateData, IN EFI_PEI_FV_HANDLE VolumeHandle, IN EFI_PEI_FILE_HANDLE FileHandle, IN UINT32 AuthenticationStatus)
EFI_STATUS EFIAPI SecurityPpiNotifyCallback(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor, IN VOID *Ppi)