Searched defs:phase2_method (Results 1 - 18 of 18) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_peap.c37 const struct eap_method *phase2_method; member in struct:eap_peap_data
187 if (data->phase2_priv && data->phase2_method)
188 data->phase2_method->deinit(sm, data->phase2_priv);
233 if (data->phase2_method == NULL || data->phase2_priv == NULL ||
234 data->phase2_method->isKeyAvailable == NULL ||
235 data->phase2_method->getKey == NULL)
238 if (!data->phase2_method->isKeyAvailable(sm, data->phase2_priv) ||
239 (key = data->phase2_method->getKey(sm, data->phase2_priv,
692 data->phase2_method = eap_peer_get_eap_method(
695 if (data->phase2_method) {
[all...]
H A Deap_fast.c38 const struct eap_method *phase2_method; member in struct:eap_fast_data
240 if (data->phase2_priv && data->phase2_method)
241 data->phase2_method->deinit(sm, data->phase2_priv);
344 data->phase2_method =
347 if (data->phase2_method == NULL)
355 data->phase2_priv = data->phase2_method->init(sm);
435 if (data->phase2_priv && data->phase2_method &&
439 data->phase2_method->deinit(sm, data->phase2_priv);
440 data->phase2_method = NULL;
458 data->phase2_method
[all...]
H A Deap_ttls.c34 const struct eap_method *phase2_method; member in struct:eap_ttls_data
128 if (data->phase2_priv && data->phase2_method) {
129 data->phase2_method->deinit(sm, data->phase2_priv);
130 data->phase2_method = NULL;
292 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret,
314 if (data->tnc_started && data->phase2_method &&
361 data->phase2_method = eap_peer_get_eap_method(
363 if (data->phase2_method) {
365 data->phase2_priv = data->phase2_method->init(sm);
369 if (data->phase2_priv == NULL || data->phase2_method
[all...]
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_peap.c37 const struct eap_method *phase2_method; member in struct:eap_peap_data
187 if (data->phase2_priv && data->phase2_method)
188 data->phase2_method->deinit(sm, data->phase2_priv);
233 if (data->phase2_method == NULL || data->phase2_priv == NULL ||
234 data->phase2_method->isKeyAvailable == NULL ||
235 data->phase2_method->getKey == NULL)
238 if (!data->phase2_method->isKeyAvailable(sm, data->phase2_priv) ||
239 (key = data->phase2_method->getKey(sm, data->phase2_priv,
692 data->phase2_method = eap_peer_get_eap_method(
695 if (data->phase2_method) {
[all...]
H A Deap_fast.c38 const struct eap_method *phase2_method; member in struct:eap_fast_data
240 if (data->phase2_priv && data->phase2_method)
241 data->phase2_method->deinit(sm, data->phase2_priv);
344 data->phase2_method =
347 if (data->phase2_method == NULL)
355 data->phase2_priv = data->phase2_method->init(sm);
435 if (data->phase2_priv && data->phase2_method &&
439 data->phase2_method->deinit(sm, data->phase2_priv);
440 data->phase2_method = NULL;
458 data->phase2_method
[all...]
H A Deap_ttls.c34 const struct eap_method *phase2_method; member in struct:eap_ttls_data
128 if (data->phase2_priv && data->phase2_method) {
129 data->phase2_method->deinit(sm, data->phase2_priv);
130 data->phase2_method = NULL;
292 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret,
314 if (data->tnc_started && data->phase2_method &&
361 data->phase2_method = eap_peer_get_eap_method(
363 if (data->phase2_method) {
365 data->phase2_priv = data->phase2_method->init(sm);
369 if (data->phase2_priv == NULL || data->phase2_method
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_peap.c37 const struct eap_method *phase2_method; member in struct:eap_peap_data
187 if (data->phase2_priv && data->phase2_method)
188 data->phase2_method->deinit(sm, data->phase2_priv);
233 if (data->phase2_method == NULL || data->phase2_priv == NULL ||
234 data->phase2_method->isKeyAvailable == NULL ||
235 data->phase2_method->getKey == NULL)
238 if (!data->phase2_method->isKeyAvailable(sm, data->phase2_priv) ||
239 (key = data->phase2_method->getKey(sm, data->phase2_priv,
692 data->phase2_method = eap_peer_get_eap_method(
695 if (data->phase2_method) {
[all...]
H A Deap_fast.c38 const struct eap_method *phase2_method; member in struct:eap_fast_data
240 if (data->phase2_priv && data->phase2_method)
241 data->phase2_method->deinit(sm, data->phase2_priv);
344 data->phase2_method =
347 if (data->phase2_method == NULL)
355 data->phase2_priv = data->phase2_method->init(sm);
435 if (data->phase2_priv && data->phase2_method &&
439 data->phase2_method->deinit(sm, data->phase2_priv);
440 data->phase2_method = NULL;
458 data->phase2_method
[all...]
H A Deap_ttls.c34 const struct eap_method *phase2_method; member in struct:eap_ttls_data
128 if (data->phase2_priv && data->phase2_method) {
129 data->phase2_method->deinit(sm, data->phase2_priv);
130 data->phase2_method = NULL;
292 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret,
314 if (data->tnc_started && data->phase2_method &&
361 data->phase2_method = eap_peer_get_eap_method(
363 if (data->phase2_method) {
365 data->phase2_priv = data->phase2_method->init(sm);
369 if (data->phase2_priv == NULL || data->phase2_method
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_fast.c39 const struct eap_method *phase2_method; member in struct:eap_fast_data
339 if (data->phase2_method == NULL || data->phase2_priv == NULL) {
345 if (data->phase2_method->getKey == NULL)
348 if ((key = data->phase2_method->getKey(sm, data->phase2_priv,
358 data->phase2_method->vendor == EAP_VENDOR_IETF &&
359 data->phase2_method->method == EAP_TYPE_MSCHAPV2) {
507 if (data->phase2_priv && data->phase2_method)
508 data->phase2_method->reset(sm, data->phase2_priv);
583 req = data->phase2_method->buildReq(sm, data->phase2_priv, id);
604 data->phase2_method)
[all...]
H A Deap_server_peap.c42 const struct eap_method *phase2_method; member in struct:eap_peap_data
169 if (data->phase2_priv && data->phase2_method)
170 data->phase2_method->reset(sm, data->phase2_priv);
209 if (data->phase2_method == NULL || data->phase2_priv == NULL) {
213 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id);
223 data->phase2_method->method != EAP_TYPE_TLV) {
542 if (data->phase2_priv && data->phase2_method) {
543 data->phase2_method->reset(sm, data->phase2_priv);
544 data->phase2_method = NULL;
547 data->phase2_method
[all...]
H A Deap_server_ttls.c35 const struct eap_method *phase2_method; member in struct:eap_ttls_data
335 if (data->phase2_priv && data->phase2_method)
336 data->phase2_method->reset(sm, data->phase2_priv);
371 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id);
779 if (data->phase2_priv && data->phase2_method) {
780 data->phase2_method->reset(sm, data->phase2_priv);
781 data->phase2_method = NULL;
784 data->phase2_method = eap_server_get_eap_method(EAP_VENDOR_IETF,
786 if (!data->phase2_method)
790 data->phase2_priv = data->phase2_method
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_fast.c39 const struct eap_method *phase2_method; member in struct:eap_fast_data
339 if (data->phase2_method == NULL || data->phase2_priv == NULL) {
345 if (data->phase2_method->getKey == NULL)
348 if ((key = data->phase2_method->getKey(sm, data->phase2_priv,
358 data->phase2_method->vendor == EAP_VENDOR_IETF &&
359 data->phase2_method->method == EAP_TYPE_MSCHAPV2) {
507 if (data->phase2_priv && data->phase2_method)
508 data->phase2_method->reset(sm, data->phase2_priv);
583 req = data->phase2_method->buildReq(sm, data->phase2_priv, id);
604 data->phase2_method)
[all...]
H A Deap_server_peap.c42 const struct eap_method *phase2_method; member in struct:eap_peap_data
169 if (data->phase2_priv && data->phase2_method)
170 data->phase2_method->reset(sm, data->phase2_priv);
209 if (data->phase2_method == NULL || data->phase2_priv == NULL) {
213 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id);
223 data->phase2_method->method != EAP_TYPE_TLV) {
542 if (data->phase2_priv && data->phase2_method) {
543 data->phase2_method->reset(sm, data->phase2_priv);
544 data->phase2_method = NULL;
547 data->phase2_method
[all...]
H A Deap_server_ttls.c35 const struct eap_method *phase2_method; member in struct:eap_ttls_data
335 if (data->phase2_priv && data->phase2_method)
336 data->phase2_method->reset(sm, data->phase2_priv);
371 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id);
779 if (data->phase2_priv && data->phase2_method) {
780 data->phase2_method->reset(sm, data->phase2_priv);
781 data->phase2_method = NULL;
784 data->phase2_method = eap_server_get_eap_method(EAP_VENDOR_IETF,
786 if (!data->phase2_method)
790 data->phase2_priv = data->phase2_method
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_fast.c39 const struct eap_method *phase2_method; member in struct:eap_fast_data
339 if (data->phase2_method == NULL || data->phase2_priv == NULL) {
345 if (data->phase2_method->getKey == NULL)
348 if ((key = data->phase2_method->getKey(sm, data->phase2_priv,
358 data->phase2_method->vendor == EAP_VENDOR_IETF &&
359 data->phase2_method->method == EAP_TYPE_MSCHAPV2) {
507 if (data->phase2_priv && data->phase2_method)
508 data->phase2_method->reset(sm, data->phase2_priv);
583 req = data->phase2_method->buildReq(sm, data->phase2_priv, id);
604 data->phase2_method)
[all...]
H A Deap_server_peap.c42 const struct eap_method *phase2_method; member in struct:eap_peap_data
169 if (data->phase2_priv && data->phase2_method)
170 data->phase2_method->reset(sm, data->phase2_priv);
209 if (data->phase2_method == NULL || data->phase2_priv == NULL) {
213 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id);
223 data->phase2_method->method != EAP_TYPE_TLV) {
542 if (data->phase2_priv && data->phase2_method) {
543 data->phase2_method->reset(sm, data->phase2_priv);
544 data->phase2_method = NULL;
547 data->phase2_method
[all...]
H A Deap_server_ttls.c35 const struct eap_method *phase2_method; member in struct:eap_ttls_data
335 if (data->phase2_priv && data->phase2_method)
336 data->phase2_method->reset(sm, data->phase2_priv);
371 buf = data->phase2_method->buildReq(sm, data->phase2_priv, id);
779 if (data->phase2_priv && data->phase2_method) {
780 data->phase2_method->reset(sm, data->phase2_priv);
781 data->phase2_method = NULL;
784 data->phase2_method = eap_server_get_eap_method(EAP_VENDOR_IETF,
786 if (!data->phase2_method)
790 data->phase2_priv = data->phase2_method
[all...]

Completed in 1225 milliseconds