TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | DxeImageAuthenticationStatusHandler (IN UINT32 AuthenticationStatus, IN CONST EFI_DEVICE_PATH_PROTOCOL *File OPTIONAL, IN VOID *FileBuffer, IN UINTN FileSize, IN BOOLEAN BootPolicy) |
EFI_STATUS EFIAPI | DxeImageAuthenticationStatusLibConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Implement image authentication status check in UEFI2.3.1.
Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DxeImageAuthenticationStatusLib.c.
EFI_STATUS EFIAPI DxeImageAuthenticationStatusHandler | ( | IN UINT32 | AuthenticationStatus, |
IN CONST EFI_DEVICE_PATH_PROTOCOL *File | OPTIONAL, | ||
IN VOID * | FileBuffer, | ||
IN UINTN | FileSize, | ||
IN BOOLEAN | BootPolicy | ||
) |
Check image authentication status returned from Section Extraction Protocol
[in] | AuthenticationStatus | This is the authentication status returned from the Section Extraction Protocol when reading the input file. |
[in] | File | This is a pointer to the device path of the file that is being dispatched. This will optionally be used for logging. |
[in] | FileBuffer | File buffer matches the input file device path. |
[in] | FileSize | Size of File buffer matches the input file device path. |
[in] | BootPolicy | A boot policy that was used to call LoadImage() UEFI service. |
EFI_SUCCESS | The input file specified by File did authenticate, and the platform policy dictates that the DXE Core may use File. |
EFI_ACCESS_DENIED | The file specified by File and FileBuffer did not authenticate, and the platform policy dictates that the DXE Foundation many not use File. |
Definition at line 32 of file DxeImageAuthenticationStatusLib.c.
EFI_STATUS EFIAPI DxeImageAuthenticationStatusLibConstructor | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Register image authentication status check handler.
ImageHandle | ImageHandle of the loaded driver. |
SystemTable | Pointer to the EFI System Table. |
EFI_SUCCESS | The handlers were registered successfully. |
Definition at line 59 of file DxeImageAuthenticationStatusLib.c.