Home
last modified time | relevance | path

Searched refs:num_methods (Results 1 – 4 of 4) sorted by relevance

/hostap-3.6.0/src/ap/
Deap_user_db.c26 int num_methods; in set_user_methods() local
33 num_methods = 0; in set_user_methods()
39 user->methods[num_methods].method = in set_user_methods()
41 &user->methods[num_methods].vendor); in set_user_methods()
42 if (user->methods[num_methods].vendor == EAP_VENDOR_IETF && in set_user_methods()
43 user->methods[num_methods].method == EAP_TYPE_NONE) { in set_user_methods()
66 num_methods++; in set_user_methods()
67 if (num_methods >= EAP_MAX_METHODS) in set_user_methods()
/hostap-3.6.0/src/eap_peer/
Deap_tls_common.c1103 size_t num_methods = 0, prefix_len; in eap_peer_select_phase2_methods() local
1140 num_methods++; in eap_peer_select_phase2_methods()
1141 _methods = os_realloc_array(methods, num_methods, in eap_peer_select_phase2_methods()
1149 methods[num_methods - 1].vendor = vendor; in eap_peer_select_phase2_methods()
1150 methods[num_methods - 1].method = method; in eap_peer_select_phase2_methods()
1160 methods = eap_get_phase2_types(config, &num_methods); in eap_peer_select_phase2_methods()
1168 num_methods * sizeof(struct eap_method_type)); in eap_peer_select_phase2_methods()
1171 *num_types = num_methods; in eap_peer_select_phase2_methods()
/hostap-3.6.0/wpa_supplicant/
Dconfig.c1518 size_t num_methods = 0; in wpa_config_parse_eap() local
1536 methods = os_realloc_array(methods, num_methods + 1, in wpa_config_parse_eap()
1543 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()
1544 start, &methods[num_methods].vendor); in wpa_config_parse_eap()
1545 if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1546 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()
1554 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1555 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()
1559 num_methods++; in wpa_config_parse_eap()
1567 methods = os_realloc_array(methods, num_methods + 1, sizeof(*methods)); in wpa_config_parse_eap()
[all …]
/hostap-3.6.0/hostapd/
Dconfig_file.c302 int line = 0, ret = 0, num_methods; in hostapd_config_read_eap_user() local
423 num_methods = 0; in hostapd_config_read_eap_user()
429 user->methods[num_methods].method = in hostapd_config_read_eap_user()
432 &user->methods[num_methods].vendor); in hostapd_config_read_eap_user()
433 if (user->methods[num_methods].vendor == in hostapd_config_read_eap_user()
435 user->methods[num_methods].method == EAP_TYPE_NONE) in hostapd_config_read_eap_user()
465 num_methods++; in hostapd_config_read_eap_user()
466 if (num_methods >= EAP_MAX_METHODS) in hostapd_config_read_eap_user()
473 if (num_methods == 0 && user->ttls_auth == 0 && !user->macacl) { in hostapd_config_read_eap_user()