Searched refs:phase2_priv (Results 1 – 8 of 8) sorted by relevance
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_peap.c | 38 void *phase2_priv; 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() 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() 714 if (data->phase2_priv == NULL) { in eap_peap_phase2_request() 720 data->phase2_priv = in eap_peap_phase2_request() 725 if (data->phase2_priv == NULL || data->phase2_method == NULL) { in eap_peap_phase2_request() 734 *resp = data->phase2_method->process(sm, data->phase2_priv, in eap_peap_phase2_request() [all …]
|
D | eap_fast.c | 39 void *phase2_priv; 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() 358 data->phase2_priv = data->phase2_method->init(sm); in eap_fast_init_phase2_method() 363 return data->phase2_priv == NULL ? -1 : 0; 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() 463 data->phase2_priv = NULL; in eap_fast_phase2_request() 478 if ((data->phase2_priv == NULL && in eap_fast_phase2_request() 491 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret, in eap_fast_phase2_request() [all …]
|
D | eap_teap.c | 35 void *phase2_priv; 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() 323 data->phase2_priv = data->phase2_method->init(sm); in eap_teap_init_phase2_method() 326 return data->phase2_priv == NULL ? -1 : 0; 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() 391 data->phase2_priv = NULL; in eap_teap_deinit_inner_eap() 437 if (data->phase2_priv && data->phase2_method && in eap_teap_phase2_request() 452 if ((!data->phase2_priv && eap_teap_init_phase2_method(sm, data) < 0) || in eap_teap_phase2_request() [all …]
|
D | eap_ttls.c | 35 void *phase2_priv; 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() 175 data->phase2_priv = NULL; in eap_ttls_phase2_eap_deinit() 358 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret, in eap_ttls_phase2_eap_process() 382 data->phase2_priv && in eap_ttls_phase2_request_eap_method() 429 if (data->phase2_priv == NULL) { 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() 1715 if (data->phase2_priv && data->phase2_method && in eap_ttls_deinit_for_reauth() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_peap.c | 43 void *phase2_priv; 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() 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() 624 data->phase2_priv = NULL; in eap_peap_phase2_init() 631 data->phase2_priv = data->phase2_method->init(sm); in eap_peap_phase2_init() 962 if (data->phase2_priv == NULL) { in eap_peap_process_phase2_response() [all …]
|
D | eap_server_fast.c | 40 void *phase2_priv; member 342 if (data->phase2_method == NULL || data->phase2_priv == NULL) { in eap_fast_get_phase2_key() 351 if ((key = data->phase2_method->getKey(sm, data->phase2_priv, 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() 584 if (data->phase2_priv == NULL) { in eap_fast_build_phase2_req() 589 req = data->phase2_method->buildReq(sm, data->phase2_priv, id); in eap_fast_build_phase2_req() 951 if (data->phase2_priv && data->phase2_method) { in eap_fast_phase2_init() 952 data->phase2_method->reset(sm, data->phase2_priv); in eap_fast_phase2_init() 954 data->phase2_priv = NULL; in eap_fast_phase2_init() [all …]
|
D | eap_server_teap.c | 42 void *phase2_priv; member 322 if (!data->phase2_method || !data->phase2_priv) { in eap_teap_update_icmk() 328 msk = data->phase2_method->getKey(sm, data->phase2_priv, 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() 594 if (!data->phase2_priv) { in eap_teap_build_phase2_req() 601 req = data->phase2_method->buildReq(sm, data->phase2_priv, id); in eap_teap_build_phase2_req() 1002 if (data->phase2_priv && data->phase2_method) { in eap_teap_phase2_init() [all …]
|
D | eap_server_ttls.c | 36 void *phase2_priv; 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() 836 data->phase2_priv = NULL; in eap_ttls_phase2_eap_init() 843 data->phase2_priv = data->phase2_method->init(sm); in eap_ttls_phase2_eap_init() 845 return data->phase2_priv == NULL ? -1 : 0; in eap_ttls_phase2_eap_init() 860 void *priv = data->phase2_priv; in eap_ttls_process_phase2_eap_response()
|