TianoCore EDK2 master
Loading...
Searching...
No Matches
AuthenticationInfo.h
Go to the documentation of this file.
1
11#ifndef __AUTHENTICATION_INFO_H__
12#define __AUTHENTICATION_INFO_H__
13
14#define EFI_AUTHENTICATION_INFO_PROTOCOL_GUID \
15 { \
16 0x7671d9d0, 0x53db, 0x4173, {0xaa, 0x69, 0x23, 0x27, 0xf2, 0x1f, 0x0b, 0xc7 } \
17 }
18
19#define EFI_AUTHENTICATION_CHAP_RADIUS_GUID \
20 { \
21 0xd6062b50, 0x15ca, 0x11da, {0x92, 0x19, 0x00, 0x10, 0x83, 0xff, 0xca, 0x4d } \
22 }
23
24#define EFI_AUTHENTICATION_CHAP_LOCAL_GUID \
25 { \
26 0xc280c73e, 0x15ca, 0x11da, {0xb0, 0xca, 0x00, 0x10, 0x83, 0xff, 0xca, 0x4d } \
27 }
28
30
31#pragma pack(1)
32typedef struct {
37
41 UINT16 Length;
43
44typedef struct {
45 AUTH_NODE_HEADER Header;
46
50 UINT8 RadiusIpAddr[16];
51
55 UINT16 Reserved;
56
60 UINT8 NasIpAddr[16];
61
66
70 UINT8 NasSecret[1];
71
106
107typedef struct {
108 AUTH_NODE_HEADER Header;
109
113 UINT16 Reserved;
114
119
123 UINT8 UserSecret[1];
124
167#pragma pack()
168
186typedef
190 IN EFI_HANDLE ControllerHandle,
191 OUT VOID **Buffer
192 );
193
210typedef
214 IN EFI_HANDLE ControllerHandle,
215 IN VOID *Buffer
216 );
217
225};
226
227extern EFI_GUID gEfiAuthenticationInfoProtocolGuid;
228extern EFI_GUID gEfiAuthenticationChapRadiusGuid;
229extern EFI_GUID gEfiAuthenticationChapLocalGuid;
230
231#endif
EFI_STATUS(EFIAPI * EFI_AUTHENTICATION_INFO_PROTOCOL_GET)(IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, OUT VOID **Buffer)
EFI_STATUS(EFIAPI * EFI_AUTHENTICATION_INFO_PROTOCOL_SET)(IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN VOID *Buffer)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
Definition: Base.h:213