Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_peer/
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()
699 data->phase2_method = eap_peer_get_eap_method( in eap_peap_phase2_request()
702 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()
438 if (data->phase2_priv && data->phase2_method && in eap_fast_phase2_request()
442 data->phase2_method->deinit(sm, data->phase2_priv); in eap_fast_phase2_request()
443 data->phase2_method = NULL; in eap_fast_phase2_request()
461 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()
346 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret, in eap_ttls_phase2_eap_process()
368 if (data->tnc_started && data->phase2_method && in eap_ttls_phase2_request_eap_method()
415 data->phase2_method = eap_peer_get_eap_method( in eap_ttls_phase2_request_eap_method()
417 if (data->phase2_method) { in eap_ttls_phase2_request_eap_method()
419 data->phase2_priv = data->phase2_method->init(sm); in eap_ttls_phase2_request_eap_method()
423 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_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()
590 if (data->phase2_priv && data->phase2_method) { in eap_peap_phase2_init()
591 data->phase2_method->reset(sm, data->phase2_priv); in eap_peap_phase2_init()
592 data->phase2_method = NULL; in eap_peap_phase2_init()
595 data->phase2_method = eap_server_get_eap_method(vendor, eap_type); in eap_peap_phase2_init()
[all …]
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()
511 if (data->phase2_priv && data->phase2_method) in eap_fast_reset()
512 data->phase2_method->reset(sm, data->phase2_priv); in eap_fast_reset()
587 req = data->phase2_method->buildReq(sm, data->phase2_priv, id); in eap_fast_build_phase2_req()
608 data->phase2_method) in eap_fast_build_crypto_binding()
[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()
832 if (data->phase2_priv && data->phase2_method) { in eap_ttls_phase2_eap_init()
833 data->phase2_method->reset(sm, data->phase2_priv); in eap_ttls_phase2_eap_init()
834 data->phase2_method = NULL; in eap_ttls_phase2_eap_init()
837 data->phase2_method = eap_server_get_eap_method(EAP_VENDOR_IETF, 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 …]