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
25
30typedef 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
66typedef
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
102typedef
105 IN EFI_EAP_PROTOCOL *This,
106 IN UINT8 EapAuthType
107 );
108
132typedef
135 IN EFI_EAP_PROTOCOL *This,
136 IN UINT8 EapAuthType,
138 );
139
150};
151
152extern EFI_GUID gEfiEapProtocolGuid;
153
154#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_EAP_SET_DESIRED_AUTHENTICATION_METHOD)(IN EFI_EAP_PROTOCOL *This, IN UINT8 EapAuthType)
Definition: Eap.h:104
VOID * EFI_PORT_HANDLE
Definition: Eap.h:30
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_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
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213