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()
696 data->phase2_method = eap_peer_get_eap_method( in eap_peap_phase2_request()
699 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()
344 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret, in eap_ttls_phase2_eap_process()
366 if (data->tnc_started && data->phase2_method && in eap_ttls_phase2_request_eap_method()
413 data->phase2_method = eap_peer_get_eap_method( in eap_ttls_phase2_request_eap_method()
415 if (data->phase2_method) { in eap_ttls_phase2_request_eap_method()
417 data->phase2_priv = data->phase2_method->init(sm); in eap_ttls_phase2_request_eap_method()
421 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()
586 if (data->phase2_priv && data->phase2_method) { in eap_peap_phase2_init()
587 data->phase2_method->reset(sm, data->phase2_priv); in eap_peap_phase2_init()
588 data->phase2_method = NULL; in eap_peap_phase2_init()
591 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()
512 if (data->phase2_priv && data->phase2_method) in eap_fast_reset()
513 data->phase2_method->reset(sm, data->phase2_priv); in eap_fast_reset()
588 req = data->phase2_method->buildReq(sm, data->phase2_priv, id); in eap_fast_build_phase2_req()
609 data->phase2_method) in eap_fast_build_crypto_binding()
[all …]
Deap_server_ttls.c35 const struct eap_method *phase2_method; member
365 if (data->phase2_priv && data->phase2_method) in eap_ttls_reset()
366 data->phase2_method->reset(sm, data->phase2_priv); in eap_ttls_reset()
401 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id); in eap_ttls_build_phase2_eap_req()
830 if (data->phase2_priv && data->phase2_method) { in eap_ttls_phase2_eap_init()
831 data->phase2_method->reset(sm, data->phase2_priv); in eap_ttls_phase2_eap_init()
832 data->phase2_method = NULL; in eap_ttls_phase2_eap_init()
835 data->phase2_method = eap_server_get_eap_method(EAP_VENDOR_IETF, in eap_ttls_phase2_eap_init()
837 if (!data->phase2_method) in eap_ttls_phase2_eap_init()
841 data->phase2_priv = data->phase2_method->init(sm); in eap_ttls_phase2_eap_init()
[all …]