Searched refs:group_cipher (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-11-stable/contrib/wpa/src/rsn_supp/
H A Dwpa_ie.c42 int pairwise_cipher, int group_cipher,
59 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, group_cipher);
62 group_cipher);
109 int pairwise_cipher, int group_cipher,
131 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher);
134 group_cipher);
265 int pairwise_cipher, int group_cipher,
283 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher);
286 group_cipher);
333 sm->group_cipher,
41 wpa_gen_wpa_ie_wpa(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument
108 wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt, int mgmt_group_cipher, struct wpa_sm *sm) argument
264 wpa_gen_wpa_ie_osen(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument
[all...]
H A Dwpa_ft.c193 if (!wpa_cipher_valid_group(sm->group_cipher)) {
195 sm->group_cipher);
200 sm->group_cipher));
726 keylen = wpa_cipher_key_len(sm->group_cipher);
727 rsc_len = wpa_cipher_rsc_len(sm->group_cipher);
728 alg = wpa_cipher_to_alg(sm->group_cipher);
731 sm->group_cipher);
752 if (sm->group_cipher == WPA_CIPHER_TKIP) {
H A Dwpa.c734 wpa_cipher_txt(sm->group_cipher));
853 int group_cipher,
860 *alg = wpa_cipher_to_alg(group_cipher);
864 group_cipher);
867 *key_rsc_len = wpa_cipher_rsc_len(group_cipher);
869 klen = wpa_cipher_key_len(group_cipher);
873 wpa_cipher_txt(group_cipher), keylen, maxkeylen);
912 if (sm->group_cipher == WPA_CIPHER_TKIP) {
980 rsclen = wpa_cipher_rsc_len(sm->group_cipher);
1038 if (sm->group_cipher !
852 wpa_supplicant_check_group_cipher(struct wpa_sm *sm, int group_cipher, int keylen, int maxkeylen, int *key_rsc_len, enum wpa_alg *alg) argument
[all...]
H A Dwpa_i.h83 unsigned int group_cipher; member in struct:wpa_sm
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dmesh_rsn.h16 unsigned int group_cipher; member in struct:mesh_rsn
H A Dmesh.c110 cipher = wpa_pick_group_cipher(ssid->group_cipher);
118 conf->group_cipher = cipher;
217 wpa_s->group_cipher = wpa_s->mesh_rsn->group_cipher;
451 wpa_s->group_cipher = WPA_CIPHER_NONE;
H A Dconfig_ssid.h238 * group_cipher - Bitfield of allowed group ciphers, WPA_CIPHER_*
240 int group_cipher; member in struct:wpa_ssid
H A Dwpa_supplicant.c173 switch (wpa_s->group_cipher) {
193 "WPA-None", wpa_s->group_cipher);
404 wpa_s->group_cipher = WPA_CIPHER_NONE;
410 wpa_s->group_cipher = WPA_CIPHER_WEP104;
414 wpa_s->group_cipher = WPA_CIPHER_WEP40;
423 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher);
1025 wpa_s->group_cipher = 0;
1163 if (!(ie->group_cipher & ssid->group_cipher)) {
1166 ie->group_cipher, ssi
[all...]
H A Dmesh_rsn.c163 conf.wpa_group = rsn->group_cipher;
209 wpa_drv_set_key(rsn->wpa_s, wpa_cipher_to_alg(rsn->group_cipher), NULL,
244 mesh_rsn->group_cipher = conf->group_cipher;
757 key_len = wpa_cipher_key_len(wpa_s->mesh_rsn->group_cipher);
H A Dwps_supplicant.c302 (ssid->group_cipher != new_ssid->group_cipher &&
303 !(ssid->group_cipher & new_ssid->group_cipher &
494 ssid->group_cipher |= WPA_CIPHER_GCMP;
499 ssid->group_cipher |= WPA_CIPHER_GCMP_256;
504 ssid->group_cipher |= WPA_CIPHER_CCMP_256;
H A Devents.c566 ie.group_cipher = wpa_default_rsn_cipher(bss->freq);
569 (ie.group_cipher & (WPA_CIPHER_WEP40 | WPA_CIPHER_WEP104)))
592 if (!(ie.group_cipher & ssid->group_cipher)) {
672 (ie.group_cipher & (WPA_CIPHER_WEP40 | WPA_CIPHER_WEP104)))
694 if (!(ie.group_cipher & ssid->group_cipher)) {
H A Dconfig_file.c143 if ((ssid->group_cipher & WPA_CIPHER_CCMP) &&
151 ssid->group_cipher &= ~WPA_CIPHER_CCMP;
596 if (ssid->group_cipher == DEFAULT_GROUP)
H A Dconfig.c1174 if (ssid->group_cipher == val)
1177 ssid->group_cipher = val;
1186 return wpa_config_write_cipher(ssid->group_cipher);
2857 ssid->group_cipher = DEFAULT_GROUP;
H A Dwpa_supplicant_i.h543 int group_cipher; member in struct:wpa_supplicant
H A Dwpas_glue.c241 wpa_s->group_cipher = cipher;
H A Dmesh_mpm.c885 wpa_drv_set_key(wpa_s, wpa_cipher_to_alg(conf->group_cipher),
H A Dsme.c1648 params.group_suite = wpa_s->group_cipher;
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dwpa_auth_ie.c566 data.group_cipher = wpa_default_rsn_cipher(freq);
647 data.group_cipher);
668 data.group_cipher);
680 if (data.group_cipher != wpa_auth->conf.wpa_group) {
682 MACSTR, data.group_cipher, MAC2STR(sm->addr));
H A Dap_config.h48 unsigned int group_cipher; member in struct:mesh_conf
367 int group_cipher; /* wpa_group value override from configuation */ member in struct:hostapd_bss_config
H A Dap_config.c1295 if (bss->group_cipher)
1296 bss->wpa_group = bss->group_cipher;
H A Dbeacon.c1314 params->group_cipher = hapd->conf->wpa_group;
/freebsd-11-stable/contrib/wpa/src/common/
H A Dwpa_common.c1201 data->group_cipher = WPA_CIPHER_CCMP;
1229 data->group_cipher = WPA_CIPHER_GTK_NOT_USED;
1251 data->group_cipher = rsn_selector_to_bitfield(pos);
1253 if (!wpa_cipher_valid_group(data->group_cipher)) {
1256 __func__, data->group_cipher,
1403 data->group_cipher = WPA_CIPHER_TKIP;
1431 data->group_cipher = wpa_selector_to_bitfield(pos);
2117 ie1d.group_cipher == ie2d.group_cipher &&
H A Dwpa_common.h397 int group_cipher; member in struct:wpa_ie_data
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dconfig_file.c2977 } else if (os_strcmp(buf, "group_cipher") == 0) {
2978 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-11-stable/contrib/wpa/src/drivers/
H A Ddriver.h1265 * group_cipher - WPA_CIPHER_*
1267 unsigned int group_cipher; member in struct:wpa_driver_ap_params

Completed in 308 milliseconds

12