equal
deleted
inserted
replaced
14 * Description: EAP and WLAN authentication protocols. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: % |
19 * %version: 7 % |
20 */ |
20 */ |
|
21 |
|
22 // This is enumeration of EAPOL source code. |
|
23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
|
24 #undef EAP_FILE_NUMBER_ENUM |
|
25 #define EAP_FILE_NUMBER_ENUM 766 |
|
26 #undef EAP_FILE_NUMBER_DATE |
|
27 #define EAP_FILE_NUMBER_DATE 1127594498 |
|
28 #endif //#if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
21 |
29 |
22 #include "eap_am_tools.h" |
30 #include "eap_am_tools.h" |
23 #include "eap_tools.h" |
31 #include "eap_tools.h" |
24 #include "eap_am_export.h" |
32 #include "eap_am_export.h" |
25 #include "eap_am_assert.h" |
33 #include "eap_am_assert.h" |
175 } |
183 } |
176 |
184 |
177 //-------------------------------------------------- |
185 //-------------------------------------------------- |
178 |
186 |
179 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::open_pac_store( |
187 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::open_pac_store( |
180 const eap_status_e completion_status) |
188 const eap_status_e /* completion_status */) |
181 { |
189 { |
182 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
190 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
183 |
191 |
184 eap_status_e status(eap_status_process_general_error); |
192 eap_status_e status(eap_status_process_general_error); |
185 |
193 |
221 } |
229 } |
222 |
230 |
223 //-------------------------------------------------- |
231 //-------------------------------------------------- |
224 |
232 |
225 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::destroy_pac_store( |
233 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::destroy_pac_store( |
226 const eap_status_e completion_status) |
234 const eap_status_e /* completion_status */) |
227 { |
235 { |
228 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
236 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
229 |
237 |
230 eap_status_e status(eap_status_process_general_error); |
238 eap_status_e status(eap_status_process_general_error); |
231 |
239 |
265 return EAP_STATUS_RETURN(m_am_tools, status); |
273 return EAP_STATUS_RETURN(m_am_tools, status); |
266 |
274 |
267 } |
275 } |
268 //-------------------------------------------------------------------------------------------- |
276 //-------------------------------------------------------------------------------------------- |
269 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::create_device_seed( |
277 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::create_device_seed( |
270 const eap_status_e completion_status) |
278 const eap_status_e /* completion_status */) |
271 { |
279 { |
272 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
280 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
273 |
281 |
274 eap_status_e status(eap_status_process_general_error); |
282 eap_status_e status(eap_status_process_general_error); |
275 |
283 |
310 |
318 |
311 } |
319 } |
312 |
320 |
313 //-------------------------------------------------- |
321 //-------------------------------------------------- |
314 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::is_master_key_present( |
322 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::is_master_key_present( |
315 const eap_status_e completion_status) |
323 const eap_status_e /* completion_status */) |
316 { |
324 { |
317 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
325 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
318 |
326 |
319 eap_status_e status(eap_status_process_general_error); |
327 eap_status_e status(eap_status_process_general_error); |
320 |
328 |
353 } |
361 } |
354 |
362 |
355 //-------------------------------------------------- |
363 //-------------------------------------------------- |
356 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::is_master_key_and_password_matching( |
364 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::is_master_key_and_password_matching( |
357 const eap_variable_data_c * const pac_store_password |
365 const eap_variable_data_c * const pac_store_password |
358 ,const eap_status_e completion_status) |
366 ,const eap_status_e /* completion_status */) |
359 { |
367 { |
360 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
368 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
361 |
369 |
362 eap_status_e status(eap_status_process_general_error); |
370 eap_status_e status(eap_status_process_general_error); |
363 |
371 |
405 } |
413 } |
406 |
414 |
407 //-------------------------------------------------- |
415 //-------------------------------------------------- |
408 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::create_and_save_master_key( |
416 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::create_and_save_master_key( |
409 const eap_variable_data_c * const pac_store_password |
417 const eap_variable_data_c * const pac_store_password |
410 ,const eap_status_e completion_status) |
418 ,const eap_status_e /* completion_status */) |
411 { |
419 { |
412 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
420 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
413 |
421 |
414 eap_status_e status(eap_status_process_general_error); |
422 eap_status_e status(eap_status_process_general_error); |
415 |
423 |
549 |
557 |
550 |
558 |
551 //-------------------------------------------------- |
559 //-------------------------------------------------- |
552 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::set_pac_store_password( |
560 EAP_FUNC_EXPORT eap_status_e eap_pac_store_client_message_if_c::set_pac_store_password( |
553 const eap_variable_data_c * const pac_store_password |
561 const eap_variable_data_c * const pac_store_password |
554 ,const eap_status_e completion_status) |
562 ,const eap_status_e /* completion_status */) |
555 { |
563 { |
556 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
564 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
557 |
565 |
558 eap_status_e status(eap_status_process_general_error); |
566 eap_status_e status(eap_status_process_general_error); |
559 |
567 |