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

/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap_teap.c34 const struct eap_method *phase2_method; member in struct:eap_teap_data
258 if (data->phase2_priv && data->phase2_method)
259 data->phase2_method->deinit(sm, data->phase2_priv);
312 data->phase2_method =
315 if (!data->phase2_method)
319 data->phase2_priv = data->phase2_method->init(sm);
399 if (data->phase2_priv && data->phase2_method &&
403 data->phase2_method->deinit(sm, data->phase2_priv);
404 data->phase2_method = NULL;
421 !data->phase2_method) {
[all...]
H A Deap_peap.c37 const struct eap_method *phase2_method; member in struct:eap_peap_data
183 if (data->phase2_priv && data->phase2_method)
184 data->phase2_method->deinit(sm, data->phase2_priv);
230 if (data->phase2_method == NULL || data->phase2_priv == NULL ||
231 data->phase2_method->isKeyAvailable == NULL ||
232 data->phase2_method->getKey == NULL)
235 if (!data->phase2_method->isKeyAvailable(sm, data->phase2_priv) ||
236 (key = data->phase2_method->getKey(sm, data->phase2_priv,
699 data->phase2_method = eap_peer_get_eap_method(
702 if (data->phase2_method) {
[all...]
H A Deap_fast.c38 const struct eap_method *phase2_method; member in struct:eap_fast_data
237 if (data->phase2_priv && data->phase2_method)
238 data->phase2_method->deinit(sm, data->phase2_priv);
347 data->phase2_method =
350 if (data->phase2_method == NULL)
358 data->phase2_priv = data->phase2_method->init(sm);
438 if (data->phase2_priv && data->phase2_method &&
442 data->phase2_method->deinit(sm, data->phase2_priv);
443 data->phase2_method = NULL;
461 data->phase2_method
[all...]
H A Deap_ttls.c34 const struct eap_method *phase2_method; member in struct:eap_ttls_data
172 if (data->phase2_priv && data->phase2_method) {
173 data->phase2_method->deinit(sm, data->phase2_priv);
174 data->phase2_method = NULL;
346 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret,
368 if (data->tnc_started && data->phase2_method &&
415 data->phase2_method = eap_peer_get_eap_method(
417 if (data->phase2_method) {
419 data->phase2_priv = data->phase2_method->init(sm);
423 if (data->phase2_priv == NULL || data->phase2_method
[all...]
/freebsd-11-stable/contrib/wpa/src/eap_server/
H A Deap_server_fast.c39 const struct eap_method *phase2_method; member in struct:eap_fast_data
342 if (data->phase2_method == NULL || data->phase2_priv == NULL) {
348 if (data->phase2_method->getKey == NULL)
351 if ((key = data->phase2_method->getKey(sm, data->phase2_priv,
361 data->phase2_method->vendor == EAP_VENDOR_IETF &&
362 data->phase2_method->method == EAP_TYPE_MSCHAPV2) {
511 if (data->phase2_priv && data->phase2_method)
512 data->phase2_method->reset(sm, data->phase2_priv);
587 req = data->phase2_method->buildReq(sm, data->phase2_priv, id);
608 data->phase2_method)
[all...]
H A Deap_server_peap.c42 const struct eap_method *phase2_method; member in struct:eap_peap_data
200 if (data->phase2_priv && data->phase2_method)
201 data->phase2_method->reset(sm, data->phase2_priv);
240 if (data->phase2_method == NULL || data->phase2_priv == NULL) {
244 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id);
254 data->phase2_method->method != EAP_TYPE_TLV) {
590 if (data->phase2_priv && data->phase2_method) {
591 data->phase2_method->reset(sm, data->phase2_priv);
592 data->phase2_method = NULL;
595 data->phase2_method
[all...]
H A Deap_server_teap.c41 const struct eap_method *phase2_method; member in struct:eap_teap_data
315 if (!data->phase2_method || !data->phase2_priv) {
320 if (data->phase2_method->getKey) {
321 msk = data->phase2_method->getKey(sm, data->phase2_priv,
330 if (data->phase2_method->get_emsk) {
331 emsk = data->phase2_method->get_emsk(sm, data->phase2_priv,
431 if (data->phase2_priv && data->phase2_method)
432 data->phase2_method->reset(sm, data->phase2_priv);
544 req = data->phase2_method->buildReq(sm, data->phase2_priv, id);
566 data->phase2_method)
[all...]
H A Deap_server_ttls.c35 const struct eap_method *phase2_method; member in struct:eap_ttls_data
364 if (data->phase2_priv && data->phase2_method)
365 data->phase2_method->reset(sm, data->phase2_priv);
400 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id);
832 if (data->phase2_priv && data->phase2_method) {
833 data->phase2_method->reset(sm, data->phase2_priv);
834 data->phase2_method = NULL;
837 data->phase2_method = eap_server_get_eap_method(EAP_VENDOR_IETF,
839 if (!data->phase2_method)
843 data->phase2_priv = data->phase2_method
[all...]

Completed in 75 milliseconds