SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c File Reference


Functions

EFI_STATUS EFIAPI DxeImageAuthenticationStatusHandler (IN UINT32 AuthenticationStatus, IN CONST EFI_DEVICE_PATH_PROTOCOL *File, IN VOID *FileBuffer, IN UINTN FileSize, IN BOOLEAN BootPolicy)
EFI_STATUS EFIAPI DxeImageAuthenticationStatusLibConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)

Detailed Description

Implement image authentication status check in UEFI2.3.1.

Copyright (c) 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.


Function Documentation

EFI_STATUS EFIAPI DxeImageAuthenticationStatusHandler ( IN UINT32  AuthenticationStatus,
IN CONST EFI_DEVICE_PATH_PROTOCOL *  File,
IN VOID *  FileBuffer,
IN UINTN  FileSize,
IN BOOLEAN  BootPolicy 
)

Check image authentication status returned from Section Extraction Protocol

Parameters:
[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.
Return values:
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.

Referenced by DxeImageAuthenticationStatusLibConstructor().

EFI_STATUS EFIAPI DxeImageAuthenticationStatusLibConstructor ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE *  SystemTable 
)

Register image authenticaion status check handler.

Parameters:
ImageHandle ImageHandle of the loaded driver.
SystemTable Pointer to the EFI System Table.
Return values:
EFI_SUCCESS The handlers were registered successfully.

References DxeImageAuthenticationStatusHandler().


Generated on Thu Sep 24 23:44:24 2015 for SecurityPkg[ALL] by  doxygen 1.5.7.1