TianoCore EDK2 master
Loading...
Searching...
No Matches
EapConfiguration.h
Go to the documentation of this file.
1
12#ifndef __EFI_EAP_CONFIGURATION_PROTOCOL_H__
13#define __EFI_EAP_CONFIGURATION_PROTOCOL_H__
14
18#define EFI_EAP_CONFIGURATION_PROTOCOL_GUID \
19 { \
20 0xe5b58dbb, 0x7688, 0x44b4, {0x97, 0xbf, 0x5f, 0x1d, 0x4b, 0x7c, 0xc8, 0xdb } \
21 }
22
24
28#define EFI_EAP_TYPE_ATTRIBUTE 0
29
30typedef enum {
35 EfiEapConfigEapSupportedAuthMethod,
44 EfiEapConfigEapTlsClientCert,
45 EfiEapConfigEapTlsClientPrivateKeyFile,
46 EfiEapConfigEapTlsClientPrivateKeyFilePassword, // ASCII format, Volatile
47 EfiEapConfigEapTlsCipherSuite,
48 EfiEapConfigEapTlsSupportedCipherSuite,
52 EfiEapConfigEapMSChapV2Password, // UNICODE format, Volatile
61
65typedef UINT8 EFI_EAP_TYPE;
66#define EFI_EAP_TYPE_ATTRIBUTE 0
67#define EFI_EAP_TYPE_IDENTITY 1
68#define EFI_EAP_TYPE_NOTIFICATION 2
69#define EFI_EAP_TYPE_NAK 3
70#define EFI_EAP_TYPE_MD5CHALLENGE 4
71#define EFI_EAP_TYPE_OTP 5
72#define EFI_EAP_TYPE_GTC 6
73#define EFI_EAP_TYPE_EAPTLS 13
74#define EFI_EAP_TYPE_EAPSIM 18
75#define EFI_EAP_TYPE_TTLS 21
76#define EFI_EAP_TYPE_PEAP 25
77#define EFI_EAP_TYPE_MSCHAPV2 26
78#define EFI_EAP_TYPE_EAP_EXTENSION 33
79
99typedef
103 IN EFI_EAP_TYPE EapType,
105 IN VOID *Data,
106 IN UINTN DataSize
107 );
108
131typedef
135 IN EFI_EAP_TYPE EapType,
137 IN OUT VOID *Data,
138 IN OUT UINTN *DataSize
139 );
140
149};
150
151extern EFI_GUID gEfiEapConfigurationProtocolGuid;
152
153#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_EAP_CONFIGURATION_GET_DATA)(IN EFI_EAP_CONFIGURATION_PROTOCOL *This, IN EFI_EAP_TYPE EapType, IN EFI_EAP_CONFIG_DATA_TYPE DataType, IN OUT VOID *Data, IN OUT UINTN *DataSize)
EFI_STATUS(EFIAPI * EFI_EAP_CONFIGURATION_SET_DATA)(IN EFI_EAP_CONFIGURATION_PROTOCOL *This, IN EFI_EAP_TYPE EapType, IN EFI_EAP_CONFIG_DATA_TYPE DataType, IN VOID *Data, IN UINTN DataSize)
EFI_EAP_CONFIG_DATA_TYPE
@ EfiEapConfigEapAuthMethod
@ EfiEapConfigEapMSChapV2Password
@ EfiEapConfigEapTlsCACert
@ EfiEapConfigEap2ndAuthMethod
@ EfiEapConfigIdentityString
UINT8 EFI_EAP_TYPE
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213