3 Copyright (c) 2008, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 PlatformToDriverConfiguration.h
18 UEFI Authentication Info Protocol.
24 #ifndef _EFI_AUTHENTICATION_INFO_H_
25 #define _EFI_AUTHENTICATION_INFO_H_
28 // Global ID for the Authentication Info Protocol
30 #define EFI_AUTHENTICATION_INFO_PROTOCOL_GUID \
32 0x7671d9d0, 0x53db, 0x4173, {0xaa, 0x69, 0x23, 0x27, 0xf2, 0x1f, 0x0b, 0xc7} \
35 EFI_FORWARD_DECLARATION (EFI_AUTHENTICATION_INFO_PROTOCOL
);
39 (EFIAPI
*EFI_AUTHENTICATION_INFO_PROTOCOL_GET
) (
40 IN EFI_AUTHENTICATION_INFO_PROTOCOL
*This
,
41 IN EFI_HANDLE
*ControllerHandle
,
47 Retrieves the Authentication information associated with a particular
51 This - Pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL instance.
52 ControllerHandle - Handle to the Controller.
53 Buffer - Pointer to the authentication information. This function
54 is responsible for allocating the buffer and it is the
55 caller's responsibility to free buffer when the caller
56 is finished with buffer.
59 EFI_SUCCESS - Successfully retrieved Authentication information
60 for the given ControllerHandle.
61 EFI_NOT_FOUND - No matching Authentication information found for the
62 given ControllerHandle.
63 EFI_DEVICE_ERROR - The Authentication information could not be retrieved
64 due to a hardware error.
70 (EFIAPI
*EFI_AUTHENTICATION_INFO_PROTOCOL_SET
) (
71 IN EFI_AUTHENTICATION_INFO_PROTOCOL
*This
,
72 IN EFI_HANDLE
*ControllerHandle
,
78 Set the Authentication information for a given controller handle.
81 This - Pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL instance.
82 ControllerHandle - Handle to the Controller.
83 Buffer - Pointer to the authentication information.
86 EFI_SUCCESS - Successfully set the Authentication node information
87 for the given ControllerHandle.
88 EFI_UNSUPPORTED - If the platform policies do not allow setting of the
89 Authentication information.
90 EFI_DEVICE_ERROR - The authentication node information could not be configured
91 due to a hardware error.
92 EFI_OUT_OF_RESOURCES - Not enough storage is available to hold the data.
97 // Interface structure for the Authentication Info Protocol
99 struct _EFI_AUTHENTICATION_INFO_PROTOCOL
{
100 EFI_AUTHENTICATION_INFO_PROTOCOL_GET Get
;
101 EFI_AUTHENTICATION_INFO_PROTOCOL_SET Set
;
104 extern EFI_GUID gEfiAuthenticationInfoProtocolGuid
;