MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
AuthenticationInfo.h File Reference

Data Structures

struct  AUTH_NODE_HEADER
 
struct  CHAP_RADIUS_AUTH_NODE
 
struct  CHAP_LOCAL_AUTH_NODE
 
struct  _EFI_AUTHENTICATION_INFO_PROTOCOL
 

Macros

#define EFI_AUTHENTICATION_INFO_PROTOCOL_GUID
 
#define EFI_AUTHENTICATION_CHAP_RADIUS_GUID
 
#define EFI_AUTHENTICATION_CHAP_LOCAL_GUID
 

Typedefs

typedef struct
_EFI_AUTHENTICATION_INFO_PROTOCOL 
EFI_AUTHENTICATION_INFO_PROTOCOL
 
typedef EFI_STATUS(EFIAPIEFI_AUTHENTICATION_INFO_PROTOCOL_GET )(IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, OUT VOID **Buffer)
 
typedef EFI_STATUS(EFIAPIEFI_AUTHENTICATION_INFO_PROTOCOL_SET )(IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN VOID *Buffer)
 

Variables

EFI_GUID gEfiAuthenticationInfoProtocolGuid
 
EFI_GUID gEfiAuthenticationChapRadiusGuid
 
EFI_GUID gEfiAuthenticationChapLocalGuid
 

Detailed Description

EFI_AUTHENTICATION_INFO_PROTOCOL as defined in UEFI 2.0. This protocol is used on any device handle to obtain authentication information associated with the physical or logical device.

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Macro Definition Documentation

#define EFI_AUTHENTICATION_CHAP_LOCAL_GUID
Value:
{ \
0xc280c73e, 0x15ca, 0x11da, {0xb0, 0xca, 0x00, 0x10, 0x83, 0xff, 0xca, 0x4d } \
}
#define EFI_AUTHENTICATION_CHAP_RADIUS_GUID
Value:
{ \
0xd6062b50, 0x15ca, 0x11da, {0x92, 0x19, 0x00, 0x10, 0x83, 0xff, 0xca, 0x4d } \
}
#define EFI_AUTHENTICATION_INFO_PROTOCOL_GUID
Value:
{ \
0x7671d9d0, 0x53db, 0x4173, {0xaa, 0x69, 0x23, 0x27, 0xf2, 0x1f, 0x0b, 0xc7 } \
}

Typedef Documentation

typedef EFI_STATUS(EFIAPI * EFI_AUTHENTICATION_INFO_PROTOCOL_GET)(IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, OUT VOID **Buffer)

Retrieves the authentication information associated with a particular controller handle.

Parameters
[in]ThisThe pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.
[in]ControllerHandleThe handle to the Controller.
[out]BufferThe pointer to the authentication information. This function is responsible for allocating the buffer and it is the caller's responsibility to free buffer when the caller is finished with buffer.
Return values
EFI_SUCCESSSuccessfully retrieved authentication information for the given ControllerHandle.
EFI_INVALID_PARAMETERNo matching authentication information found for the given ControllerHandle.
EFI_DEVICE_ERRORThe authentication information could not be retrieved due to a hardware error.
typedef EFI_STATUS(EFIAPI * EFI_AUTHENTICATION_INFO_PROTOCOL_SET)(IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN VOID *Buffer)

Set the authentication information for a given controller handle.

Parameters
[in]ThisThe pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.
[in]ControllerHandleThe handle to the Controller.
[in]BufferThe pointer to the authentication information.
Return values
EFI_SUCCESSSuccessfully set authentication information for the given ControllerHandle.
EFI_UNSUPPORTEDIf the platform policies do not allow setting of the authentication information.
EFI_DEVICE_ERRORThe authentication information could not be configured due to a hardware error.
EFI_OUT_OF_RESOURCESNot enough storage is available to hold the data.

Variable Documentation

EFI_GUID gEfiAuthenticationChapLocalGuid
EFI_GUID gEfiAuthenticationChapRadiusGuid
EFI_GUID gEfiAuthenticationInfoProtocolGuid