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

/freebsd-9.3-release/contrib/wpa/src/eap_peer/
H A Deap_peap.c44 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);
228 if (data->phase2_method == NULL || data->phase2_priv == NULL ||
229 data->phase2_method->isKeyAvailable == NULL ||
230 data->phase2_method->getKey == NULL)
233 if (!data->phase2_method->isKeyAvailable(sm, data->phase2_priv) ||
234 (key = data->phase2_method->getKey(sm, data->phase2_priv,
714 data->phase2_method = eap_peer_get_eap_method(
717 if (data->phase2_method) {
[all...]
H A Deap_fast.c44 const struct eap_method *phase2_method; member in struct:eap_fast_data
234 if (data->phase2_priv && data->phase2_method)
235 data->phase2_method->deinit(sm, data->phase2_priv);
335 data->phase2_method =
338 if (data->phase2_method == NULL)
346 data->phase2_priv = data->phase2_method->init(sm);
426 if (data->phase2_priv && data->phase2_method &&
430 data->phase2_method->deinit(sm, data->phase2_priv);
431 data->phase2_method = NULL;
458 *resp = data->phase2_method
[all...]
H A Deap_ttls.c51 const struct eap_method *phase2_method; member in struct:eap_ttls_data
164 if (data->phase2_priv && data->phase2_method) {
165 data->phase2_method->deinit(sm, data->phase2_priv);
166 data->phase2_method = NULL;
429 const struct eap_method *m = data->phase2_method;
487 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret,
510 if (data->tnc_started && data->phase2_method &&
557 data->phase2_method = eap_peer_get_eap_method(
559 if (data->phase2_method) {
561 data->phase2_priv = data->phase2_method
[all...]
/freebsd-9.3-release/contrib/wpa/src/eap_server/
H A Deap_server_peap.c48 const struct eap_method *phase2_method; member in struct:eap_peap_data
202 if (data->phase2_priv && data->phase2_method)
203 data->phase2_method->reset(sm, data->phase2_priv);
242 if (data->phase2_method == NULL || data->phase2_priv == NULL) {
246 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id);
258 data->phase2_method->method != EAP_TYPE_TLV) {
576 if (data->phase2_priv && data->phase2_method) {
577 data->phase2_method->reset(sm, data->phase2_priv);
578 data->phase2_method = NULL;
581 data->phase2_method
[all...]
H A Deap_server_fast.c44 const struct eap_method *phase2_method; member in struct:eap_fast_data
343 if (data->phase2_method == NULL || data->phase2_priv == NULL) {
349 if (data->phase2_method->getKey == NULL)
352 if ((key = data->phase2_method->getKey(sm, data->phase2_priv,
362 data->phase2_method->vendor == EAP_VENDOR_IETF &&
363 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_ttls.c51 const struct eap_method *phase2_method; member in struct:eap_ttls_data
418 if (data->phase2_priv && data->phase2_method)
419 data->phase2_method->reset(sm, data->phase2_priv);
454 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id);
922 if (data->phase2_priv && data->phase2_method) {
923 data->phase2_method->reset(sm, data->phase2_priv);
924 data->phase2_method = NULL;
927 data->phase2_method = eap_server_get_eap_method(EAP_VENDOR_IETF,
929 if (!data->phase2_method)
933 data->phase2_priv = data->phase2_method
[all...]

Completed in 171 milliseconds