Home
last modified time | relevance | path

Searched refs:group_cipher (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-12.1/contrib/wpa/src/rsn_supp/
H A Dwpa_ie.c42 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_wpa() argument
59 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, group_cipher); in wpa_gen_wpa_ie_wpa()
62 group_cipher); in wpa_gen_wpa_ie_wpa()
109 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_rsn() argument
131 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_rsn()
134 group_cipher); in wpa_gen_wpa_ie_rsn()
265 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_osen() argument
286 group_cipher); in wpa_gen_wpa_ie_osen()
333 sm->group_cipher, in wpa_gen_wpa_ie()
340 sm->group_cipher, in wpa_gen_wpa_ie()
[all …]
H A Dwpa_ft.c193 if (!wpa_cipher_valid_group(sm->group_cipher)) { in wpa_ft_gen_req_ies()
195 sm->group_cipher); in wpa_ft_gen_req_ies()
200 sm->group_cipher)); in wpa_ft_gen_req_ies()
726 keylen = wpa_cipher_key_len(sm->group_cipher); in wpa_ft_process_gtk_subelem()
727 rsc_len = wpa_cipher_rsc_len(sm->group_cipher); in wpa_ft_process_gtk_subelem()
728 alg = wpa_cipher_to_alg(sm->group_cipher); in wpa_ft_process_gtk_subelem()
731 sm->group_cipher); in wpa_ft_process_gtk_subelem()
752 if (sm->group_cipher == WPA_CIPHER_TKIP) { in wpa_ft_process_gtk_subelem()
H A Dwpa.c734 wpa_cipher_txt(sm->group_cipher)); in wpa_supplicant_key_neg_complete()
853 int group_cipher, in wpa_supplicant_check_group_cipher() argument
860 *alg = wpa_cipher_to_alg(group_cipher); in wpa_supplicant_check_group_cipher()
864 group_cipher); in wpa_supplicant_check_group_cipher()
869 klen = wpa_cipher_key_len(group_cipher); in wpa_supplicant_check_group_cipher()
2575 sm->group_cipher)), in wpa_sm_get_mib()
2581 sm->group_cipher)), in wpa_sm_get_mib()
3041 sm->group_cipher = value; in wpa_sm_set_param()
3091 wpa_cipher_txt(sm->group_cipher), in wpa_sm_get_status()
3984 sm->group_cipher); in fils_ft_build_assoc_req_rsne()
[all …]
H A Dwpa_i.h83 unsigned int group_cipher; member
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Dwpa_supplicant.c173 switch (wpa_s->group_cipher) { in wpa_supplicant_set_wpa_none_key()
1025 wpa_s->group_cipher = 0; in wpa_supplicant_clear_status()
1163 if (!(ie->group_cipher & ssid->group_cipher)) { in wpa_supplicant_suites_from_ai()
1166 ie->group_cipher, ssid->group_cipher); in wpa_supplicant_suites_from_ai()
1203 return (ie->group_cipher & ssid->group_cipher) && in matching_ciphers()
1245 (ie.group_cipher & ssid->group_cipher) && in wpa_supplicant_set_suites()
1253 (ie.group_cipher & ssid->group_cipher) && in wpa_supplicant_set_suites()
1260 (ie.group_cipher & ssid->group_cipher) && in wpa_supplicant_set_suites()
1312 ie.group_cipher = ssid->group_cipher; in wpa_supplicant_set_suites()
1378 sel = ie.group_cipher & ssid->group_cipher; in wpa_supplicant_set_suites()
[all …]
H A Dmesh.c110 cipher = wpa_pick_group_cipher(ssid->group_cipher); in mesh_config_create()
118 conf->group_cipher = cipher; in mesh_config_create()
217 wpa_s->group_cipher = wpa_s->mesh_rsn->group_cipher; in wpas_mesh_complete()
451 wpa_s->group_cipher = WPA_CIPHER_NONE; in wpa_supplicant_join_mesh()
H A Dmesh_rsn.c163 conf.wpa_group = rsn->group_cipher; in __mesh_rsn_auth_init()
209 wpa_drv_set_key(rsn->wpa_s, wpa_cipher_to_alg(rsn->group_cipher), NULL, in __mesh_rsn_auth_init()
244 mesh_rsn->group_cipher = conf->group_cipher; in mesh_rsn_auth_init()
757 key_len = wpa_cipher_key_len(wpa_s->mesh_rsn->group_cipher); in mesh_rsn_process_ampe()
H A Dmesh_rsn.h16 unsigned int group_cipher; member
H A Dconfig_ssid.h240 int group_cipher; member
H A Dwps_supplicant.c302 (ssid->group_cipher != new_ssid->group_cipher && in wpas_wps_remove_dup_network()
303 !(ssid->group_cipher & new_ssid->group_cipher & in wpas_wps_remove_dup_network()
494 ssid->group_cipher |= WPA_CIPHER_GCMP; in wpa_supplicant_wps_cred()
499 ssid->group_cipher |= WPA_CIPHER_GCMP_256; in wpa_supplicant_wps_cred()
504 ssid->group_cipher |= WPA_CIPHER_CCMP_256; in wpa_supplicant_wps_cred()
H A Dconfig_file.c143 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
151 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_validate_network()
596 if (ssid->group_cipher == DEFAULT_GROUP) in write_group()
H A Devents.c566 ie.group_cipher = wpa_default_rsn_cipher(bss->freq); in wpa_supplicant_ssid_bss_match()
569 (ie.group_cipher & (WPA_CIPHER_WEP40 | WPA_CIPHER_WEP104))) in wpa_supplicant_ssid_bss_match()
592 if (!(ie.group_cipher & ssid->group_cipher)) { in wpa_supplicant_ssid_bss_match()
672 (ie.group_cipher & (WPA_CIPHER_WEP40 | WPA_CIPHER_WEP104))) in wpa_supplicant_ssid_bss_match()
694 if (!(ie.group_cipher & ssid->group_cipher)) { in wpa_supplicant_ssid_bss_match()
H A DREADME-HS20501 group_cipher=CCMP
521 group_cipher=NONE
H A Dconfig.c1174 if (ssid->group_cipher == val) in wpa_config_parse_group()
1177 ssid->group_cipher = val; in wpa_config_parse_group()
1186 return wpa_config_write_cipher(ssid->group_cipher); in wpa_config_write_group()
2857 ssid->group_cipher = DEFAULT_GROUP; in wpa_config_set_network_defaults()
H A Dwpa_supplicant_i.h543 int group_cipher; member
H A Dwpas_glue.c241 wpa_s->group_cipher = cipher; in wpa_eapol_set_wep_key()
H A Dmesh_mpm.c885 wpa_drv_set_key(wpa_s, wpa_cipher_to_alg(conf->group_cipher), in mesh_mpm_plink_estab()
/freebsd-12.1/contrib/wpa/src/ap/
H A Dwpa_auth_ie.c566 data.group_cipher = wpa_default_rsn_cipher(freq); in wpa_validate_wpa_ie()
647 data.group_cipher); in wpa_validate_wpa_ie()
668 data.group_cipher); in wpa_validate_wpa_ie()
680 if (data.group_cipher != wpa_auth->conf.wpa_group) { in wpa_validate_wpa_ie()
682 MACSTR, data.group_cipher, MAC2STR(sm->addr)); in wpa_validate_wpa_ie()
H A Dap_config.h48 unsigned int group_cipher; member
367 int group_cipher; /* wpa_group value override from configuation */ member
H A Dap_config.c1295 if (bss->group_cipher) in hostapd_set_security_params()
1296 bss->wpa_group = bss->group_cipher; in hostapd_set_security_params()
H A Dbeacon.c1314 params->group_cipher = hapd->conf->wpa_group; in ieee802_11_build_ap_params()
/freebsd-12.1/contrib/wpa/src/common/
H A Dwpa_common.c1201 data->group_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn()
1229 data->group_cipher = WPA_CIPHER_GTK_NOT_USED; in wpa_parse_wpa_ie_rsn()
1251 data->group_cipher = rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn()
1253 if (!wpa_cipher_valid_group(data->group_cipher)) { in wpa_parse_wpa_ie_rsn()
1256 __func__, data->group_cipher, in wpa_parse_wpa_ie_rsn()
1403 data->group_cipher = WPA_CIPHER_TKIP; in wpa_parse_wpa_ie_wpa()
1431 data->group_cipher = wpa_selector_to_bitfield(pos); in wpa_parse_wpa_ie_wpa()
2117 ie1d.group_cipher == ie2d.group_cipher && in wpa_compare_rsn_ie()
H A Dwpa_common.h397 int group_cipher; member
/freebsd-12.1/contrib/wpa/hostapd/
H A Dconfig_file.c2978 bss->group_cipher = hostapd_config_parse_cipher(line, pos);
2979 if (bss->group_cipher == -1 || bss->group_cipher == 0)
2981 if (bss->group_cipher != WPA_CIPHER_TKIP &&
2982 bss->group_cipher != WPA_CIPHER_CCMP &&
2983 bss->group_cipher != WPA_CIPHER_GCMP &&
2984 bss->group_cipher != WPA_CIPHER_GCMP_256 &&
2985 bss->group_cipher != WPA_CIPHER_CCMP_256) {
/freebsd-12.1/contrib/wpa/src/drivers/
H A Ddriver.h1267 unsigned int group_cipher; member

12