Home
last modified time | relevance | path

Searched refs:phase2_method (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Deap_teap.c34 const struct eap_method *phase2_method; member
259 if (data->phase2_priv && data->phase2_method) in eap_teap_deinit()
260 data->phase2_method->deinit(sm, data->phase2_priv); in eap_teap_deinit()
316 data->phase2_method = in eap_teap_init_phase2_method()
319 if (!data->phase2_method) in eap_teap_init_phase2_method()
323 data->phase2_priv = data->phase2_method->init(sm); in eap_teap_init_phase2_method()
384 if (!data->phase2_priv || !data->phase2_method) in eap_teap_deinit_inner_eap()
389 data->phase2_method->deinit(sm, data->phase2_priv); in eap_teap_deinit_inner_eap()
390 data->phase2_method = NULL; in eap_teap_deinit_inner_eap()
437 if (data->phase2_priv && data->phase2_method && in eap_teap_phase2_request()
[all …]
Deap_peap.c37 const struct eap_method *phase2_method; member
183 if (data->phase2_priv && data->phase2_method) in eap_peap_deinit()
184 data->phase2_method->deinit(sm, data->phase2_priv); in eap_peap_deinit()
230 if (data->phase2_method == NULL || data->phase2_priv == NULL || in eap_peap_get_isk()
231 data->phase2_method->isKeyAvailable == NULL || in eap_peap_get_isk()
232 data->phase2_method->getKey == NULL) in eap_peap_get_isk()
235 if (!data->phase2_method->isKeyAvailable(sm, data->phase2_priv) || in eap_peap_get_isk()
236 (key = data->phase2_method->getKey(sm, data->phase2_priv, in eap_peap_get_isk()
715 data->phase2_method = eap_peer_get_eap_method( in eap_peap_phase2_request()
718 if (data->phase2_method) { in eap_peap_phase2_request()
[all …]
Deap_fast.c38 const struct eap_method *phase2_method; member
237 if (data->phase2_priv && data->phase2_method) in eap_fast_deinit()
238 data->phase2_method->deinit(sm, data->phase2_priv); in eap_fast_deinit()
347 data->phase2_method = in eap_fast_init_phase2_method()
350 if (data->phase2_method == NULL) in eap_fast_init_phase2_method()
358 data->phase2_priv = data->phase2_method->init(sm); in eap_fast_init_phase2_method()
456 if (data->phase2_priv && data->phase2_method && in eap_fast_phase2_request()
461 data->phase2_method->deinit(sm, data->phase2_priv); in eap_fast_phase2_request()
462 data->phase2_method = NULL; in eap_fast_phase2_request()
480 data->phase2_method == NULL) { in eap_fast_phase2_request()
[all …]
Deap_ttls.c34 const struct eap_method *phase2_method; member
172 if (data->phase2_priv && data->phase2_method) { in eap_ttls_phase2_eap_deinit()
173 data->phase2_method->deinit(sm, data->phase2_priv); in eap_ttls_phase2_eap_deinit()
174 data->phase2_method = NULL; in eap_ttls_phase2_eap_deinit()
358 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret, in eap_ttls_phase2_eap_process()
381 if (data->tnc_started && data->phase2_method && in eap_ttls_phase2_request_eap_method()
430 data->phase2_method = eap_peer_get_eap_method(vendor, method); in eap_ttls_phase2_request_eap_method()
431 if (data->phase2_method) { in eap_ttls_phase2_request_eap_method()
433 data->phase2_priv = data->phase2_method->init(sm); in eap_ttls_phase2_request_eap_method()
437 if (data->phase2_priv == NULL || data->phase2_method == NULL) { in eap_ttls_phase2_request_eap_method()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_fast.c39 const struct eap_method *phase2_method; member
342 if (data->phase2_method == NULL || data->phase2_priv == NULL) { in eap_fast_get_phase2_key()
348 if (data->phase2_method->getKey == NULL) in eap_fast_get_phase2_key()
351 if ((key = data->phase2_method->getKey(sm, data->phase2_priv, in eap_fast_get_phase2_key()
361 data->phase2_method->vendor == EAP_VENDOR_IETF && in eap_fast_get_phase2_key()
362 data->phase2_method->method == EAP_TYPE_MSCHAPV2) { in eap_fast_get_phase2_key()
513 if (data->phase2_priv && data->phase2_method) in eap_fast_reset()
514 data->phase2_method->reset(sm, data->phase2_priv); in eap_fast_reset()
589 req = data->phase2_method->buildReq(sm, data->phase2_priv, id); in eap_fast_build_phase2_req()
610 data->phase2_method) in eap_fast_build_crypto_binding()
[all …]
Deap_server_peap.c42 const struct eap_method *phase2_method; member
200 if (data->phase2_priv && data->phase2_method) in eap_peap_reset()
201 data->phase2_method->reset(sm, data->phase2_priv); in eap_peap_reset()
240 if (data->phase2_method == NULL || data->phase2_priv == NULL) { in eap_peap_build_phase2_req()
244 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id); in eap_peap_build_phase2_req()
254 data->phase2_method->method != EAP_TYPE_TLV) { in eap_peap_build_phase2_req()
621 if (data->phase2_priv && data->phase2_method) { in eap_peap_phase2_init()
622 data->phase2_method->reset(sm, data->phase2_priv); in eap_peap_phase2_init()
623 data->phase2_method = NULL; in eap_peap_phase2_init()
626 data->phase2_method = eap_server_get_eap_method(vendor, eap_type); in eap_peap_phase2_init()
[all …]
Deap_server_teap.c41 const struct eap_method *phase2_method; member
322 if (!data->phase2_method || !data->phase2_priv) { in eap_teap_update_icmk()
327 if (data->phase2_method->getKey) { in eap_teap_update_icmk()
328 msk = data->phase2_method->getKey(sm, data->phase2_priv, in eap_teap_update_icmk()
337 if (data->phase2_method->get_emsk) { in eap_teap_update_icmk()
338 emsk = data->phase2_method->get_emsk(sm, data->phase2_priv, in eap_teap_update_icmk()
443 if (data->phase2_priv && data->phase2_method) in eap_teap_reset()
444 data->phase2_method->reset(sm, data->phase2_priv); in eap_teap_reset()
554 (data->phase2_priv && data->phase2_method && in eap_teap_build_phase2_req()
555 data->phase2_method->vendor == EAP_VENDOR_IETF && in eap_teap_build_phase2_req()
[all …]
Deap_server_ttls.c35 const struct eap_method *phase2_method; member
364 if (data->phase2_priv && data->phase2_method) in eap_ttls_reset()
365 data->phase2_method->reset(sm, data->phase2_priv); in eap_ttls_reset()
400 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id); in eap_ttls_build_phase2_eap_req()
833 if (data->phase2_priv && data->phase2_method) { in eap_ttls_phase2_eap_init()
834 data->phase2_method->reset(sm, data->phase2_priv); in eap_ttls_phase2_eap_init()
835 data->phase2_method = NULL; in eap_ttls_phase2_eap_init()
838 data->phase2_method = eap_server_get_eap_method(vendor, eap_type); in eap_ttls_phase2_eap_init()
839 if (!data->phase2_method) in eap_ttls_phase2_eap_init()
843 data->phase2_priv = data->phase2_method->init(sm); in eap_ttls_phase2_eap_init()
[all …]