/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | eap_peap.c | 37 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 …]
|
D | eap_teap.c | 34 const struct eap_method *phase2_method; member 258 if (data->phase2_priv && data->phase2_method) in eap_teap_deinit() 259 data->phase2_method->deinit(sm, data->phase2_priv); in eap_teap_deinit() 312 data->phase2_method = in eap_teap_init_phase2_method() 315 if (!data->phase2_method) in eap_teap_init_phase2_method() 319 data->phase2_priv = data->phase2_method->init(sm); in eap_teap_init_phase2_method() 399 if (data->phase2_priv && data->phase2_method && in eap_teap_phase2_request() 403 data->phase2_method->deinit(sm, data->phase2_priv); in eap_teap_phase2_request() 404 data->phase2_method = NULL; in eap_teap_phase2_request() 421 !data->phase2_method) { in eap_teap_phase2_request() [all …]
|
D | eap_fast.c | 38 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 …]
|
D | eap_ttls.c | 34 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 …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap_teap.c | 34 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 …]
|
D | eap_peap.c | 37 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 …]
|
D | eap_fast.c | 38 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 …]
|
D | eap_ttls.c | 34 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 …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_peap.c | 42 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 …]
|
D | eap_server_fast.c | 39 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 …]
|
D | eap_server_teap.c | 41 const struct eap_method *phase2_method; member 315 if (!data->phase2_method || !data->phase2_priv) { in eap_teap_update_icmk() 320 if (data->phase2_method->getKey) { in eap_teap_update_icmk() 321 msk = data->phase2_method->getKey(sm, data->phase2_priv, in eap_teap_update_icmk() 330 if (data->phase2_method->get_emsk) { in eap_teap_update_icmk() 331 emsk = data->phase2_method->get_emsk(sm, data->phase2_priv, in eap_teap_update_icmk() 431 if (data->phase2_priv && data->phase2_method) in eap_teap_reset() 432 data->phase2_method->reset(sm, data->phase2_priv); in eap_teap_reset() 544 req = data->phase2_method->buildReq(sm, data->phase2_priv, id); in eap_teap_build_phase2_req() 566 data->phase2_method) in eap_teap_build_crypto_binding() [all …]
|
D | eap_server_ttls.c | 35 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 …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_fast.c | 39 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 …]
|
D | eap_server_peap.c | 42 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 …]
|
D | eap_server_teap.c | 41 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 …]
|
D | eap_server_ttls.c | 35 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 …]
|