Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.c995 size_t num_methods = 0, prefix_len; in eap_peer_select_phase2_methods() local
1025 num_methods++; in eap_peer_select_phase2_methods()
1026 _methods = os_realloc_array(methods, num_methods, in eap_peer_select_phase2_methods()
1034 methods[num_methods - 1].vendor = vendor; in eap_peer_select_phase2_methods()
1035 methods[num_methods - 1].method = method; in eap_peer_select_phase2_methods()
1045 methods = eap_get_phase2_types(config, &num_methods); in eap_peer_select_phase2_methods()
1053 num_methods * sizeof(struct eap_method_type)); in eap_peer_select_phase2_methods()
1056 *num_types = num_methods; in eap_peer_select_phase2_methods()
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig.c1240 size_t num_methods = 0; in wpa_config_parse_eap() local
1258 methods = os_realloc_array(methods, num_methods + 1, in wpa_config_parse_eap()
1265 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()
1266 start, &methods[num_methods].vendor); in wpa_config_parse_eap()
1267 if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1268 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()
1276 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1277 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()
1281 num_methods++; in wpa_config_parse_eap()
1289 methods = os_realloc_array(methods, num_methods + 1, sizeof(*methods)); in wpa_config_parse_eap()
[all …]
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c218 int line = 0, ret = 0, num_methods; in hostapd_config_read_eap_user() local
343 num_methods = 0; in hostapd_config_read_eap_user()
349 user->methods[num_methods].method = in hostapd_config_read_eap_user()
352 &user->methods[num_methods].vendor); in hostapd_config_read_eap_user()
353 if (user->methods[num_methods].vendor == in hostapd_config_read_eap_user()
355 user->methods[num_methods].method == EAP_TYPE_NONE) in hostapd_config_read_eap_user()
385 num_methods++; in hostapd_config_read_eap_user()
386 if (num_methods >= EAP_MAX_METHODS) in hostapd_config_read_eap_user()
393 if (num_methods == 0 && user->ttls_auth == 0 && !user->macacl) { in hostapd_config_read_eap_user()