TianoCore EDK2
master
Loading...
Searching...
No Matches
Eap.h
Go to the documentation of this file.
1
16
#ifndef __EFI_EAP_PROTOCOL_H__
17
#define __EFI_EAP_PROTOCOL_H__
18
19
#define EFI_EAP_PROTOCOL_GUID \
20
{ \
21
0x5d9f96db, 0xe731, 0x4caa, {0xa0, 0xd, 0x72, 0xe1, 0x87, 0xcd, 0x77, 0x62 } \
22
}
23
24
typedef
struct
_EFI_EAP_PROTOCOL
EFI_EAP_PROTOCOL
;
25
30
typedef
VOID *
EFI_PORT_HANDLE
;
31
35
#define EFI_EAP_TYPE_TLS 13
37
38
//
39
// EAP_TYPE MD5, OTP and TOEKN_CARD has been removed from UEFI2.3.1B.
40
// Definitions are kept for backward compatibility.
41
//
42
#define EFI_EAP_TYPE_MD5 4
43
#define EFI_EAP_TYPE_OTP 5
44
#define EFI_EAP_TYPE_TOKEN_CARD 6
45
66
typedef
67
EFI_STATUS
68
(EFIAPI *
EFI_EAP_BUILD_RESPONSE_PACKET
)(
69
IN
EFI_PORT_HANDLE
PortNumber,
70
IN
UINT8 *RequestBuffer,
71
IN
UINTN
RequestSize,
72
IN
UINT8 *Buffer,
73
IN
OUT
UINTN
*BufferSize
74
);
75
102
typedef
103
EFI_STATUS
104
(EFIAPI *
EFI_EAP_SET_DESIRED_AUTHENTICATION_METHOD
)(
105
IN
EFI_EAP_PROTOCOL
*This,
106
IN
UINT8 EapAuthType
107
);
108
132
typedef
133
EFI_STATUS
134
(EFIAPI *
EFI_EAP_REGISTER_AUTHENTICATION_METHOD
)(
135
IN
EFI_EAP_PROTOCOL
*This,
136
IN
UINT8 EapAuthType,
137
IN
EFI_EAP_BUILD_RESPONSE_PACKET
Handler
138
);
139
147
struct
_EFI_EAP_PROTOCOL
{
148
EFI_EAP_SET_DESIRED_AUTHENTICATION_METHOD
SetDesiredAuthMethod;
149
EFI_EAP_REGISTER_AUTHENTICATION_METHOD
RegisterAuthMethod;
150
};
151
152
extern
EFI_GUID
gEfiEapProtocolGuid;
153
154
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
EFI_EAP_SET_DESIRED_AUTHENTICATION_METHOD
EFI_STATUS(EFIAPI * EFI_EAP_SET_DESIRED_AUTHENTICATION_METHOD)(IN EFI_EAP_PROTOCOL *This, IN UINT8 EapAuthType)
Definition:
Eap.h:104
EFI_PORT_HANDLE
VOID * EFI_PORT_HANDLE
Definition:
Eap.h:30
EFI_EAP_BUILD_RESPONSE_PACKET
EFI_STATUS(EFIAPI * EFI_EAP_BUILD_RESPONSE_PACKET)(IN EFI_PORT_HANDLE PortNumber, IN UINT8 *RequestBuffer, IN UINTN RequestSize, IN UINT8 *Buffer, IN OUT UINTN *BufferSize)
Definition:
Eap.h:68
EFI_EAP_REGISTER_AUTHENTICATION_METHOD
EFI_STATUS(EFIAPI * EFI_EAP_REGISTER_AUTHENTICATION_METHOD)(IN EFI_EAP_PROTOCOL *This, IN UINT8 EapAuthType, IN EFI_EAP_BUILD_RESPONSE_PACKET Handler)
Definition:
Eap.h:134
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EFI_EAP_PROTOCOL
Definition:
Eap.h:147
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
Eap.h
Generated on Fri Nov 15 2024 18:01:15 for TianoCore EDK2 by
1.9.6