26
|
1 |
/*
|
|
2 |
* Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: EAP and WLAN authentication protocols.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
/*
|
49
|
19 |
* %version: 49 %
|
26
|
20 |
*/
|
|
21 |
|
|
22 |
#if !defined(_EAP_PROCESS_TLV_MESSAGE_DATA_H_)
|
|
23 |
#define _EAP_PROCESS_TLV_MESSAGE_DATA_H_
|
|
24 |
|
|
25 |
#include "eap_am_types.h"
|
|
26 |
#include "eap_tools.h"
|
|
27 |
#include "eap_array.h"
|
|
28 |
#include "eap_tlv_message_data.h"
|
|
29 |
#include "eap_expanded_type.h"
|
|
30 |
#include "eapol_rsna_key_header.h"
|
|
31 |
#include "eap_method_settings.h"
|
|
32 |
#include "eap_file_config.h"
|
|
33 |
|
|
34 |
#if defined(USE_EAP_SIMPLE_CONFIG)
|
|
35 |
#include "simple_config_types.h"
|
|
36 |
#include "simple_config_credential.h"
|
|
37 |
#include "simple_config_payloads.h"
|
|
38 |
#endif // #if defined(USE_EAP_SIMPLE_CONFIG)
|
|
39 |
|
49
|
40 |
#include "eap_am_export.h"
|
|
41 |
// Start: added by script change_export_macros.sh.
|
|
42 |
#if defined(EAP_NO_EXPORT_EAP_PROCESS_TLV_MESSAGE_DATA_H)
|
|
43 |
#define EAP_CLASS_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H EAP_NONSHARABLE
|
|
44 |
#define EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H
|
|
45 |
#define EAP_C_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H
|
|
46 |
#define EAP_FUNC_EXPORT_EAP_PROCESS_TLV_MESSAGE_DATA_H
|
|
47 |
#define EAP_C_FUNC_EXPORT_EAP_PROCESS_TLV_MESSAGE_DATA_H
|
|
48 |
#elif defined(EAP_EXPORT_EAP_PROCESS_TLV_MESSAGE_DATA_H)
|
|
49 |
#define EAP_CLASS_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H EAP_EXPORT
|
|
50 |
#define EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H EAP_FUNC_EXPORT
|
|
51 |
#define EAP_C_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H EAP_C_FUNC_EXPORT
|
|
52 |
#define EAP_FUNC_EXPORT_EAP_PROCESS_TLV_MESSAGE_DATA_H EAP_FUNC_EXPORT
|
|
53 |
#define EAP_C_FUNC_EXPORT_EAP_PROCESS_TLV_MESSAGE_DATA_H EAP_C_FUNC_EXPORT
|
|
54 |
#else
|
|
55 |
#define EAP_CLASS_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H EAP_IMPORT
|
|
56 |
#define EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H EAP_FUNC_IMPORT
|
|
57 |
#define EAP_C_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H EAP_C_FUNC_IMPORT
|
|
58 |
#define EAP_FUNC_EXPORT_EAP_PROCESS_TLV_MESSAGE_DATA_H
|
|
59 |
#define EAP_C_FUNC_EXPORT_EAP_PROCESS_TLV_MESSAGE_DATA_H
|
|
60 |
#endif
|
|
61 |
// End: added by script change_export_macros.sh.
|
|
62 |
|
26
|
63 |
enum eap_tlv_message_type_e
|
|
64 |
{
|
|
65 |
eap_tlv_message_type_none = 0,
|
|
66 |
eap_tlv_message_type_array = 1,
|
|
67 |
eap_tlv_message_type_boolean = 2,
|
|
68 |
eap_tlv_message_type_eap_protocol_layer = 3,
|
|
69 |
eap_tlv_message_type_eap_state_notification = 4,
|
|
70 |
eap_tlv_message_type_eap_status = 5,
|
|
71 |
eap_tlv_message_type_eap_type = 6,
|
|
72 |
eap_tlv_message_type_eapol_key_802_11_authentication_mode = 7,
|
|
73 |
eap_tlv_message_type_eapol_key_authentication_type = 8,
|
|
74 |
eap_tlv_message_type_eapol_key_type = 9,
|
|
75 |
eap_tlv_message_type_eapol_tkip_mic_failure_type = 10,
|
|
76 |
eap_tlv_message_type_eapol_wlan_authentication_state = 11,
|
|
77 |
eap_tlv_message_type_error = 12,
|
|
78 |
eap_tlv_message_type_function = 13,
|
|
79 |
eap_tlv_message_type_network_id = 14,
|
|
80 |
eap_tlv_message_type_network_key = 15,
|
|
81 |
eap_tlv_message_type_protected_setup_credential = 16,
|
|
82 |
eap_tlv_message_type_RSNA_cipher = 17,
|
|
83 |
eap_tlv_message_type_session_key = 18,
|
|
84 |
eap_tlv_message_type_u8_t = 19,
|
|
85 |
eap_tlv_message_type_u16_t = 20,
|
|
86 |
eap_tlv_message_type_u32_t = 21,
|
|
87 |
eap_tlv_message_type_u64_t = 22,
|
|
88 |
eap_tlv_message_type_variable_data = 23,
|
|
89 |
eap_tlv_message_type_eap_method_settings = 24,
|
|
90 |
eap_tlv_message_type_eap_certificate_entry = 25,
|
|
91 |
eap_tlv_message_type_i8_t = 26,
|
|
92 |
eap_tlv_message_type_i16_t = 27,
|
|
93 |
eap_tlv_message_type_i32_t = 28,
|
|
94 |
eap_tlv_message_type_configuration_option = 29,
|
|
95 |
};
|
|
96 |
|
|
97 |
|
|
98 |
enum eap_tlv_message_type_function_e
|
|
99 |
{
|
|
100 |
eap_tlv_message_type_function_none = 0,
|
|
101 |
eap_tlv_message_type_function_check_pmksa_cache = 1,
|
|
102 |
eap_tlv_message_type_function_start_authentication = 2,
|
|
103 |
eap_tlv_message_type_function_complete_association = 3,
|
|
104 |
eap_tlv_message_type_function_disassociation = 4,
|
|
105 |
eap_tlv_message_type_function_start_preauthentication = 5,
|
|
106 |
eap_tlv_message_type_function_start_reassociation = 6,
|
|
107 |
eap_tlv_message_type_function_complete_reassociation = 7,
|
|
108 |
eap_tlv_message_type_function_start_WPXM_reassociation = 8,
|
|
109 |
eap_tlv_message_type_function_complete_WPXM_reassociation = 9,
|
|
110 |
eap_tlv_message_type_function_packet_process = 10,
|
|
111 |
eap_tlv_message_type_function_tkip_mic_failure = 11,
|
|
112 |
eap_tlv_message_type_function_eap_acknowledge = 12,
|
|
113 |
eap_tlv_message_type_function_update_header_offset = 13,
|
|
114 |
eap_tlv_message_type_function_complete_check_pmksa_cache = 14,
|
|
115 |
eap_tlv_message_type_function_packet_send = 15,
|
|
116 |
eap_tlv_message_type_function_associate = 16,
|
|
117 |
eap_tlv_message_type_function_disassociate = 17,
|
|
118 |
eap_tlv_message_type_function_packet_data_session_key = 18,
|
|
119 |
eap_tlv_message_type_function_state_notification = 19,
|
|
120 |
eap_tlv_message_type_function_reassociate = 20,
|
|
121 |
eap_tlv_message_type_function_update_wlan_database_reference_values = 21,
|
|
122 |
eap_tlv_message_type_function_complete_start_WPXM_reassociation = 22,
|
|
123 |
eap_tlv_message_type_function_new_protected_setup_credentials = 23,
|
|
124 |
eap_tlv_message_type_function_create_eap_session = 24,
|
|
125 |
eap_tlv_message_type_function_remove_eap_session = 25,
|
|
126 |
eap_tlv_message_type_function_send_eap_identity_request = 26,
|
|
127 |
eap_tlv_message_type_function_packet_data_crypto_keys = 27, // EAP Master session Key.
|
|
128 |
eap_tlv_message_type_function_restart_authentication = 28,
|
|
129 |
eap_tlv_message_type_function_create_state = 29,
|
|
130 |
eap_tlv_message_type_function_remove_bksa_from_cache = 30,
|
|
131 |
eap_tlv_message_type_function_association = 31,
|
|
132 |
eap_tlv_message_type_function_set_eap_database_reference_values = 32,
|
|
133 |
eap_tlv_message_type_function_eap_mtu = 33,
|
|
134 |
eap_tlv_message_type_function_get_802_11_authentication_mode = 34,
|
|
135 |
eap_tlv_message_type_function_complete_get_802_11_authentication_mode = 35,
|
|
136 |
eap_tlv_message_type_function_complete_remove_eap_session = 36,
|
|
137 |
eap_tlv_message_type_function_complete_disassociation = 37,
|
|
138 |
eap_tlv_message_type_function_last_function = 38, // Keep this the last on this set.
|
|
139 |
|
|
140 |
eap_tlv_message_type_function_plugin_get_configuration = 1000,
|
|
141 |
eap_tlv_message_type_function_plugin_set_configuration = 1001,
|
|
142 |
eap_tlv_message_type_function_plugin_copy_configuration = 1002,
|
|
143 |
eap_tlv_message_type_function_plugin_delete_configuration = 1003,
|
|
144 |
eap_tlv_message_type_function_plugin_set_index = 1004,
|
|
145 |
eap_tlv_message_type_function_plugin_get_type_info = 1005,
|
|
146 |
eap_tlv_message_type_function_plugin_invoke_ui = 1006,
|
|
147 |
eap_tlv_message_type_function_plugin_complete_get_configuration = 1007,
|
|
148 |
eap_tlv_message_type_function_plugin_complete_set_configuration = 1008,
|
|
149 |
eap_tlv_message_type_function_plugin_complete_delete_configuration = 1009,
|
|
150 |
eap_tlv_message_type_function_plugin_complete_copy_configuration = 1010,
|
|
151 |
eap_tlv_message_type_function_plugin_complete_set_index = 1011,
|
|
152 |
eap_tlv_message_type_function_plugin_complete_get_type_info = 1012,
|
|
153 |
eap_tlv_message_type_function_plugin_complete_invoke_ui = 1013,
|
|
154 |
eap_tlv_message_type_function_plugin_last_function = 1014, // Keep this the last on this set.
|
|
155 |
|
|
156 |
eap_tlv_message_type_function_general_settings_set_eap_methods = 2000,
|
|
157 |
eap_tlv_message_type_function_general_settings_get_eap_methods = 2001,
|
|
158 |
eap_tlv_message_type_function_general_settings_get_certificate_lists = 2002,
|
|
159 |
eap_tlv_message_type_function_general_settings_delete_all_eap_settings = 2003,
|
|
160 |
eap_tlv_message_type_function_general_settings_copy_all_eap_settings = 2004,
|
|
161 |
eap_tlv_message_type_function_general_settings_complete_set_eap_methods = 2005,
|
|
162 |
eap_tlv_message_type_function_general_settings_complete_get_eap_methods = 2006,
|
|
163 |
eap_tlv_message_type_function_general_settings_complete_get_certificate_lists = 2007,
|
|
164 |
eap_tlv_message_type_function_general_settings_complete_delete_all_eap_settings = 2008,
|
|
165 |
eap_tlv_message_type_function_general_settings_complete_copy_all_eap_settings = 2009,
|
|
166 |
eap_tlv_message_type_function_general_settings_last_function = 2010, // Keep this the last on this set.
|
|
167 |
|
|
168 |
eap_tlv_message_type_function_pac_store_open_pac_store = 3000,
|
|
169 |
eap_tlv_message_type_function_pac_store_create_device_seed = 3001,
|
|
170 |
eap_tlv_message_type_function_pac_store_is_master_key_present = 3002,
|
|
171 |
eap_tlv_message_type_function_pac_store_is_master_key_and_password_matching = 3003,
|
|
172 |
eap_tlv_message_type_function_pac_store_create_and_save_master_key = 3004,
|
|
173 |
eap_tlv_message_type_function_pac_store_compare_pac_store_password = 3005,
|
|
174 |
eap_tlv_message_type_function_pac_store_is_pacstore_password_present = 3006,
|
|
175 |
eap_tlv_message_type_function_pac_store_set_pac_store_password = 3007,
|
|
176 |
eap_tlv_message_type_function_pac_store_destroy_pac_store = 3008,
|
|
177 |
eap_tlv_message_type_function_pac_store_complete_open_pac_store = 3009,
|
|
178 |
eap_tlv_message_type_function_pac_store_complete_create_device_seed = 3010,
|
|
179 |
eap_tlv_message_type_function_pac_store_complete_is_master_key_present = 3011,
|
|
180 |
eap_tlv_message_type_function_pac_store_complete_is_master_key_and_password_matching = 3012,
|
|
181 |
eap_tlv_message_type_function_pac_store_complete_create_and_save_master_key = 3013,
|
|
182 |
eap_tlv_message_type_function_pac_store_complete_compare_pac_store_password = 3014,
|
|
183 |
eap_tlv_message_type_function_pac_store_complete_is_pacstore_password_present = 3015,
|
|
184 |
eap_tlv_message_type_function_pac_store_complete_set_pac_store_password = 3016,
|
|
185 |
eap_tlv_message_type_function_pac_store_complete_destroy_pac_store = 3017,
|
|
186 |
eap_tlv_message_type_function_pac_store_last_function = 3018, // Keep this the last on this set.
|
|
187 |
|
|
188 |
eap_tlv_message_type_function_wapi_settings_get_all_certificate_labels = 4000,
|
|
189 |
eap_tlv_message_type_function_wapi_settings_reset_certificate_store = 4001,
|
|
190 |
eap_tlv_message_type_function_wapi_settings_get_configuration = 4002,
|
|
191 |
eap_tlv_message_type_function_wapi_settings_set_configuration = 4003,
|
|
192 |
eap_tlv_message_type_function_wapi_settings_set_ca_cert = 4004,
|
|
193 |
eap_tlv_message_type_function_wapi_settings_set_user_cert = 4005,
|
|
194 |
eap_tlv_message_type_function_wapi_settings_delete_configuration = 4006,
|
|
195 |
eap_tlv_message_type_function_wapi_settings_complete_get_all_certificate_labels = 4007,
|
|
196 |
eap_tlv_message_type_function_wapi_settings_complete_reset_certificate_store = 4008,
|
|
197 |
eap_tlv_message_type_function_wapi_settings_complete_get_configuration = 4009,
|
|
198 |
eap_tlv_message_type_function_wapi_settings_complete_set_configuration = 4010,
|
|
199 |
eap_tlv_message_type_function_wapi_settings_complete_set_ca_cert = 4011,
|
|
200 |
eap_tlv_message_type_function_wapi_settings_complete_set_user_cert = 4012,
|
|
201 |
eap_tlv_message_type_function_wapi_settings_complete_delete_configuration = 4013,
|
|
202 |
eap_tlv_message_type_function_wapi_settings_complete_last_function = 4014, // Keep this the last on this set.
|
|
203 |
|
|
204 |
|
|
205 |
eap_tlv_message_type_function_illegal_value, // Keep this the last value.
|
|
206 |
};
|
|
207 |
|
|
208 |
|
|
209 |
enum eap_message_payload_index_e
|
|
210 |
{
|
|
211 |
eap_message_payload_index_function = 0,
|
|
212 |
eap_message_payload_index_first_parameter = 1,
|
|
213 |
};
|
|
214 |
|
|
215 |
|
|
216 |
/** @file */
|
|
217 |
|
|
218 |
class eap_variable_data_c;
|
|
219 |
class eap_am_network_id_c;
|
|
220 |
class eap_buf_chain_wr_c;
|
|
221 |
class eapol_session_key_c;
|
|
222 |
class abs_eap_state_notification_c;
|
|
223 |
class eap_state_notification_c;
|
|
224 |
class network_key_and_index_c;
|
|
225 |
|
|
226 |
//----------------------------------------------------------------------------
|
|
227 |
|
|
228 |
|
|
229 |
/// This class defines functions to add and parse message data composed
|
|
230 |
/// of Attribute-Value Pairs (See eap_tlv_header_c) to/from eap_tlv_message_data_c object.
|
49
|
231 |
class EAP_CLASS_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_process_tlv_message_data_c
|
26
|
232 |
: public eap_tlv_message_data_c
|
|
233 |
{
|
|
234 |
private:
|
|
235 |
//--------------------------------------------------
|
|
236 |
|
|
237 |
abs_eap_am_tools_c * const m_am_tools;
|
|
238 |
|
|
239 |
bool m_is_valid;
|
|
240 |
|
|
241 |
//--------------------------------------------------
|
|
242 |
protected:
|
|
243 |
//--------------------------------------------------
|
|
244 |
|
|
245 |
//--------------------------------------------------
|
|
246 |
public:
|
|
247 |
//--------------------------------------------------
|
|
248 |
|
|
249 |
/**
|
|
250 |
* The destructor of the eap_process_tlv_message_data_c class does nothing.
|
|
251 |
*/
|
49
|
252 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H virtual ~eap_process_tlv_message_data_c();
|
26
|
253 |
|
|
254 |
/**
|
|
255 |
* The constructor of the eap_process_tlv_message_data_c class simply initializes the attributes.
|
|
256 |
*/
|
49
|
257 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_process_tlv_message_data_c(
|
26
|
258 |
abs_eap_am_tools_c * const tools);
|
|
259 |
|
|
260 |
/**
|
|
261 |
* This function should increase reference count.
|
|
262 |
*/
|
49
|
263 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H void object_increase_reference_count();
|
26
|
264 |
|
|
265 |
/**
|
|
266 |
* This function should first decrease reference count
|
|
267 |
* and second return the remaining reference count.
|
|
268 |
* Reference count must not be decreased when it is zero.
|
|
269 |
*/
|
49
|
270 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t object_decrease_reference_count();
|
26
|
271 |
|
|
272 |
/**
|
|
273 |
* Object must indicate it's validity.
|
|
274 |
* If object initialization fails this function must return false.
|
|
275 |
* @return This function returns the validity of this object.
|
|
276 |
*/
|
49
|
277 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H bool get_is_valid();
|
26
|
278 |
|
|
279 |
//- - - - - - - - - - - - - - - - - - - - - - - - -
|
|
280 |
|
49
|
281 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
282 |
const eap_variable_data_c * const data) const;
|
|
283 |
|
49
|
284 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
285 |
const eap_am_network_id_c * const network_id) const;
|
|
286 |
|
49
|
287 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
288 |
const abs_eap_state_notification_c * const state) const;
|
|
289 |
|
49
|
290 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
291 |
const eapol_session_key_c * const session_key) const;
|
|
292 |
|
49
|
293 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
294 |
EAP_TEMPLATE_CONST eap_array_c<u16_t> * const ushort_array) const;
|
|
295 |
|
49
|
296 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
297 |
const eap_certificate_entry_c * const cert) const;
|
|
298 |
|
49
|
299 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
300 |
EAP_TEMPLATE_CONST eap_array_c<eap_certificate_entry_c> * const cert_array) const;
|
|
301 |
|
49
|
302 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
303 |
const eap_method_settings_c * const internal_settings) const;
|
|
304 |
|
49
|
305 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
306 |
EAP_TEMPLATE_CONST eap_array_c<eap_type_value_e> * const eap_type_array) const;
|
|
307 |
|
|
308 |
#if defined(USE_EAP_SIMPLE_CONFIG)
|
|
309 |
|
49
|
310 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
311 |
const network_key_and_index_c * const key) const;
|
|
312 |
|
49
|
313 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
314 |
const eap_array_c<network_key_and_index_c> * const network_keys) const;
|
|
315 |
|
49
|
316 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
317 |
const simple_config_credential_c * const credential) const;
|
|
318 |
|
49
|
319 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
320 |
EAP_TEMPLATE_CONST eap_array_c<simple_config_credential_c> * const credential_array) const;
|
|
321 |
|
|
322 |
#endif // #if defined(USE_EAP_SIMPLE_CONFIG)
|
|
323 |
|
49
|
324 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H u32_t get_payload_size(
|
26
|
325 |
const eap_variable_data_c * const selector,
|
|
326 |
const eap_config_value_c * const configuration_option) const;
|
|
327 |
|
|
328 |
//- - - - - - - - - - - - - - - - - - - - - - - - -
|
|
329 |
|
49
|
330 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_structured_parameter_header(
|
26
|
331 |
const eap_tlv_message_type_e type,
|
|
332 |
const u32_t length);
|
|
333 |
|
|
334 |
|
49
|
335 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
336 |
const eap_tlv_message_type_e type,
|
|
337 |
const u32_t integer);
|
|
338 |
|
|
339 |
|
49
|
340 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
341 |
const u64_t long_integer);
|
|
342 |
|
49
|
343 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
344 |
const u32_t integer);
|
|
345 |
|
49
|
346 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
347 |
const u16_t integer);
|
|
348 |
|
49
|
349 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
350 |
const u8_t byte_integer);
|
|
351 |
|
|
352 |
|
49
|
353 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
354 |
const i32_t integer);
|
|
355 |
|
49
|
356 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
357 |
const i16_t integer);
|
|
358 |
|
49
|
359 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
360 |
const i8_t byte_integer);
|
|
361 |
|
|
362 |
|
49
|
363 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
364 |
const bool boolean);
|
|
365 |
|
49
|
366 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
367 |
const eap_status_e status);
|
|
368 |
|
49
|
369 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
370 |
const eapol_key_authentication_type_e authentication_type);
|
|
371 |
|
49
|
372 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
373 |
const eapol_key_802_11_authentication_mode_e mode);
|
|
374 |
|
49
|
375 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
376 |
const eap_tlv_message_type_function_e function);
|
|
377 |
|
49
|
378 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
379 |
const eap_variable_data_c * const variable_data);
|
|
380 |
|
49
|
381 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
382 |
const eap_am_network_id_c * const network_id);
|
|
383 |
|
49
|
384 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
385 |
const eap_buf_chain_wr_c * const packet_buffer);
|
|
386 |
|
49
|
387 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
388 |
const eapol_session_key_c * const session_key);
|
|
389 |
|
49
|
390 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
391 |
const abs_eap_state_notification_c * const state);
|
|
392 |
|
49
|
393 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
394 |
const eap_type_value_e eap_type);
|
|
395 |
|
49
|
396 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
|
397 |
const eap_general_header_base_c * const packet_data,
|
|
398 |
const u32_t packet_length);
|
26
|
399 |
|
49
|
400 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
401 |
const eap_method_settings_c * const internal_settings);
|
|
402 |
|
49
|
403 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
404 |
const eap_certificate_entry_c * const internal_settings);
|
|
405 |
|
49
|
406 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
407 |
EAP_TEMPLATE_CONST eap_array_c<u16_t> * const ushort_array);
|
|
408 |
|
49
|
409 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
410 |
EAP_TEMPLATE_CONST eap_array_c<eap_certificate_entry_c> * const cert_array);
|
|
411 |
|
49
|
412 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
413 |
EAP_TEMPLATE_CONST eap_array_c<eap_type_value_e> * const eap_type_array);
|
|
414 |
|
|
415 |
#if defined(USE_EAP_SIMPLE_CONFIG)
|
|
416 |
|
49
|
417 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
418 |
EAP_TEMPLATE_CONST eap_array_c<simple_config_credential_c> * const credential_array);
|
|
419 |
|
|
420 |
#endif // #if defined(USE_EAP_SIMPLE_CONFIG)
|
|
421 |
|
49
|
422 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e add_parameter_data(
|
26
|
423 |
const eap_variable_data_c * const selector,
|
|
424 |
const eap_config_value_c * const configuration_option);
|
|
425 |
|
|
426 |
//- - - - - - - - - - - - - - - - - - - - - - - - -
|
|
427 |
|
49
|
428 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
429 |
const eap_tlv_header_c * const integer_header,
|
|
430 |
u64_t * const value);
|
|
431 |
|
49
|
432 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
433 |
const eap_tlv_header_c * const integer_header,
|
|
434 |
u32_t * const value);
|
|
435 |
|
49
|
436 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
437 |
const eap_tlv_header_c * const integer_header,
|
|
438 |
u16_t * const value);
|
|
439 |
|
49
|
440 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
441 |
const eap_tlv_header_c * const integer_header,
|
|
442 |
u8_t * const value);
|
|
443 |
|
49
|
444 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
445 |
const eap_tlv_header_c * const integer_header,
|
|
446 |
i32_t * const value);
|
|
447 |
|
49
|
448 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
449 |
const eap_tlv_header_c * const integer_header,
|
|
450 |
i16_t * const value);
|
|
451 |
|
49
|
452 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
453 |
const eap_tlv_header_c * const integer_header,
|
|
454 |
i8_t * const value);
|
|
455 |
|
49
|
456 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
457 |
const eap_tlv_header_c * const function_header,
|
|
458 |
eap_tlv_message_type_function_e * const function);
|
|
459 |
|
49
|
460 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
461 |
const eap_tlv_header_c * const network_id_header,
|
|
462 |
eap_am_network_id_c * const new_network_id);
|
|
463 |
|
49
|
464 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
465 |
const eap_tlv_header_c * const variable_data_header,
|
|
466 |
eap_variable_data_c * const variable_data);
|
|
467 |
|
49
|
468 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
469 |
const eap_tlv_header_c * const session_key_header,
|
|
470 |
eapol_session_key_c * const session_key);
|
|
471 |
|
49
|
472 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
473 |
const eap_tlv_header_c * const state_header,
|
|
474 |
eap_state_notification_c * * const state);
|
|
475 |
|
49
|
476 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
477 |
const eap_tlv_header_c * const eap_type_header,
|
|
478 |
eap_type_value_e * const eap_type);
|
|
479 |
|
49
|
480 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
481 |
const eap_tlv_header_c * const settings_header,
|
|
482 |
eap_method_settings_c * const settings);
|
|
483 |
|
49
|
484 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
485 |
const eap_tlv_header_c * const settings_header,
|
|
486 |
eap_certificate_entry_c * const settings);
|
|
487 |
|
49
|
488 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
489 |
const eap_tlv_header_c * const settings_header,
|
|
490 |
eap_array_c<u16_t> * const settings);
|
|
491 |
|
49
|
492 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
493 |
const eap_tlv_header_c * const settings_header,
|
|
494 |
eap_array_c<eap_type_value_e> * const settings);
|
|
495 |
|
49
|
496 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
497 |
const eap_tlv_header_c * const settings_header,
|
|
498 |
eap_array_c<eap_certificate_entry_c> * const settings);
|
|
499 |
|
|
500 |
#if defined(USE_EAP_SIMPLE_CONFIG)
|
|
501 |
|
49
|
502 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
503 |
const eap_tlv_header_c * const network_key_header,
|
|
504 |
network_key_and_index_c * const network_key);
|
|
505 |
|
49
|
506 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
507 |
const eap_tlv_header_c * const network_keys_array_header,
|
|
508 |
eap_array_c<network_key_and_index_c> * const network_keys_array);
|
|
509 |
|
49
|
510 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
511 |
const eap_tlv_header_c * const credential_array_header,
|
|
512 |
eap_array_c<simple_config_credential_c> * const credential_array);
|
|
513 |
|
49
|
514 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e get_parameter_data(
|
26
|
515 |
const eap_tlv_header_c * const credential_header,
|
|
516 |
simple_config_credential_c * const credential);
|
|
517 |
|
|
518 |
#endif // #if defined(USE_EAP_SIMPLE_CONFIG)
|
|
519 |
|
|
520 |
//- - - - - - - - - - - - - - - - - - - - - - - - -
|
|
521 |
|
49
|
522 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
523 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
524 |
const u32_t parameter_index,
|
|
525 |
eap_am_network_id_c * const network_id);
|
|
526 |
|
49
|
527 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
528 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
529 |
const u32_t parameter_index,
|
|
530 |
eap_variable_data_c * const variable_data);
|
|
531 |
|
49
|
532 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
533 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
534 |
const u32_t parameter_index,
|
|
535 |
const eap_tlv_message_type_e type,
|
|
536 |
eap_status_e * const out_data);
|
|
537 |
|
49
|
538 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
539 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
540 |
const u32_t parameter_index,
|
|
541 |
eap_array_c<eap_am_network_id_c> * const out_data);
|
|
542 |
|
49
|
543 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
544 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
545 |
const u32_t parameter_index,
|
|
546 |
eap_state_notification_c * * const out_data);
|
|
547 |
|
49
|
548 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
549 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
550 |
const u32_t parameter_index,
|
|
551 |
eapol_RSNA_key_header_c::eapol_RSNA_cipher_e * const out_data);
|
|
552 |
|
49
|
553 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
554 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
555 |
const u32_t parameter_index,
|
|
556 |
bool * const out_data);
|
|
557 |
|
49
|
558 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
559 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
560 |
const u32_t parameter_index,
|
|
561 |
eap_type_value_e * const out_data);
|
|
562 |
|
49
|
563 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
564 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
565 |
const u32_t parameter_index,
|
|
566 |
eapol_key_authentication_type_e * const out_data);
|
|
567 |
|
49
|
568 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
569 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
570 |
const u32_t parameter_index,
|
|
571 |
eapol_session_key_c * const out_data);
|
|
572 |
|
49
|
573 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
574 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
575 |
const u32_t parameter_index,
|
|
576 |
eap_tlv_message_type_function_e * const out_data);
|
|
577 |
|
49
|
578 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
579 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
580 |
const u32_t parameter_index,
|
|
581 |
eapol_key_802_11_authentication_mode_e * const out_data);
|
|
582 |
|
49
|
583 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
584 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
585 |
const u32_t parameter_index,
|
|
586 |
eapol_RSNA_key_header_c::eapol_tkip_mic_failure_type_e * const out_data);
|
|
587 |
|
49
|
588 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
589 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
590 |
const u32_t parameter_index,
|
|
591 |
eapol_wlan_authentication_state_e * const out_data);
|
|
592 |
|
49
|
593 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
594 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
595 |
const u32_t parameter_index,
|
|
596 |
u64_t * const out_data);
|
|
597 |
|
49
|
598 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
599 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
600 |
const u32_t parameter_index,
|
|
601 |
u32_t * const out_data);
|
|
602 |
|
49
|
603 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
604 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
605 |
const u32_t parameter_index,
|
|
606 |
u16_t * const out_data);
|
|
607 |
|
49
|
608 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
609 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
610 |
const u32_t parameter_index,
|
|
611 |
u8_t * const out_data);
|
|
612 |
|
49
|
613 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
614 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
615 |
const u32_t parameter_index,
|
|
616 |
i32_t * const out_data);
|
|
617 |
|
49
|
618 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
619 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
620 |
const u32_t parameter_index,
|
|
621 |
i16_t * const out_data);
|
|
622 |
|
49
|
623 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
624 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
625 |
const u32_t parameter_index,
|
|
626 |
i8_t * const out_data);
|
|
627 |
|
49
|
628 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
629 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
630 |
const u32_t parameter_index,
|
|
631 |
eap_method_settings_c * const out_data);
|
|
632 |
|
49
|
633 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
634 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
635 |
const u32_t parameter_index,
|
|
636 |
eap_array_c<u16_t> * const out_data);
|
|
637 |
|
49
|
638 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
639 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
640 |
const u32_t parameter_index,
|
|
641 |
eap_array_c<eap_certificate_entry_c> * const out_data);
|
|
642 |
|
49
|
643 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
644 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
645 |
const u32_t parameter_index,
|
|
646 |
eap_array_c<eap_type_value_e> * const out_data);
|
|
647 |
|
49
|
648 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
649 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
650 |
const u32_t parameter_index,
|
|
651 |
eap_certificate_entry_c::eap_certificate_type_e * const out_data);
|
|
652 |
|
|
653 |
#if defined(USE_EAP_SIMPLE_CONFIG)
|
|
654 |
|
49
|
655 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
656 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
657 |
const u32_t parameter_index,
|
|
658 |
simple_config_Authentication_Type_e * const out_data);
|
|
659 |
|
49
|
660 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
661 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
662 |
const u32_t parameter_index,
|
|
663 |
simple_config_Encryption_Type_e * const out_data);
|
|
664 |
|
49
|
665 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
666 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
667 |
const u32_t parameter_index,
|
|
668 |
eap_array_c<simple_config_credential_c> * const out_data);
|
|
669 |
|
49
|
670 |
EAP_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H eap_status_e read_parameter_data(
|
26
|
671 |
EAP_TEMPLATE_CONST eap_array_c<eap_tlv_header_c> * const parameters,
|
|
672 |
const u32_t parameter_index,
|
|
673 |
eap_array_c<network_key_and_index_c> * const out_data);
|
|
674 |
|
|
675 |
#endif // #if defined(USE_EAP_SIMPLE_CONFIG)
|
|
676 |
|
|
677 |
//- - - - - - - - - - - - - - - - - - - - - - - - -
|
|
678 |
|
49
|
679 |
EAP_C_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H static eap_const_string get_type_string(const eap_tlv_message_type_e type);
|
26
|
680 |
|
49
|
681 |
EAP_C_FUNC_VISIBILITY_EAP_PROCESS_TLV_MESSAGE_DATA_H static eap_const_string get_function_string(const eap_tlv_message_type_function_e function);
|
26
|
682 |
|
|
683 |
//
|
|
684 |
//--------------------------------------------------
|
|
685 |
}; // class eap_process_tlv_message_data_c
|
|
686 |
|
|
687 |
|
|
688 |
//--------------------------------------------------
|
|
689 |
|
|
690 |
#endif //#if !defined(_EAP_PROCESS_TLV_MESSAGE_DATA_H_)
|
|
691 |
|
|
692 |
|
|
693 |
// End.
|