/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ie.c | 42 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_wpa() argument 70 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, pairwise_cipher); in wpa_gen_wpa_ie_wpa() 72 (!wpa_cipher_valid_pairwise(pairwise_cipher) && in wpa_gen_wpa_ie_wpa() 73 pairwise_cipher != WPA_CIPHER_NONE)) { in wpa_gen_wpa_ie_wpa() 75 pairwise_cipher); in wpa_gen_wpa_ie_wpa() 130 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_rsn() argument 162 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, pairwise_cipher); in wpa_gen_wpa_ie_rsn() 164 (!wpa_cipher_valid_pairwise(pairwise_cipher) && in wpa_gen_wpa_ie_rsn() 165 pairwise_cipher != WPA_CIPHER_NONE)) { in wpa_gen_wpa_ie_rsn() 167 pairwise_cipher); in wpa_gen_wpa_ie_rsn() [all …]
|
H A D | wpa_ft.c | 86 sm->pairwise_cipher, kdk_len); in wpa_derive_ptk_ft() 98 ret = wpa_ltf_keyseed(ptk, sm->key_mgmt, sm->pairwise_cipher); in wpa_derive_ptk_ft() 257 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_gen_req_ies() 259 sm->pairwise_cipher); in wpa_ft_gen_req_ies() 264 sm->pairwise_cipher)); in wpa_ft_gen_req_ies() 500 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_install_ptk() 502 sm->pairwise_cipher); in wpa_ft_install_ptk() 506 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_ft_install_ptk() 507 keylen = wpa_cipher_key_len(sm->pairwise_cipher); in wpa_ft_install_ptk() 518 wpa_sm_store_ptk(sm, bssid, sm->pairwise_cipher, in wpa_ft_install_ptk() [all …]
|
H A D | wpa.c | 246 else if (sm->pairwise_cipher != WPA_CIPHER_TKIP) in wpa_sm_key_request() 723 sm->pairwise_cipher, z, z_len, in wpa_derive_ptk() 733 ret = wpa_ltf_keyseed(ptk, akmp, sm->pairwise_cipher); in wpa_derive_ptk() 901 if (sm->pairwise_cipher == WPA_CIPHER_TKIP) in wpa_supplicant_process_1_of_4_wpa() 1003 if (sm->pairwise_cipher == WPA_CIPHER_TKIP) in wpa_supplicant_process_1_of_4() 1135 wpa_cipher_txt(sm->pairwise_cipher), in wpa_supplicant_key_neg_complete() 1202 if (sm->pairwise_cipher == WPA_CIPHER_NONE) { in wpa_supplicant_install_ptk() 1208 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_supplicant_install_ptk() 1211 sm->pairwise_cipher); in wpa_supplicant_install_ptk() 1215 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_supplicant_install_ptk() [all …]
|
H A D | tdls.c | 184 return sm->pairwise_cipher != WPA_CIPHER_NONE; in wpa_tdls_get_privacy() 241 sm->pairwise_cipher); in wpa_tdls_set_key() 2145 cipher = ie.pairwise_cipher; in wpa_tdls_process_tpk_m1() 2548 cipher = ie.pairwise_cipher; in wpa_tdls_process_tpk_m2()
|
H A D | wpa_i.h | 101 unsigned int pairwise_cipher; member
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | pasn_supplicant.c | 160 int sel, key_mgmt, pairwise_cipher; in wpas_pasn_get_params_from_bss() local 205 sel = rsne_data.pairwise_cipher; in wpas_pasn_get_params_from_bss() 206 if (ssid && ssid->pairwise_cipher) in wpas_pasn_get_params_from_bss() 207 sel &= ssid->pairwise_cipher; in wpas_pasn_get_params_from_bss() 210 rsne_data.pairwise_cipher, sel); in wpas_pasn_get_params_from_bss() 212 pairwise_cipher = wpa_pick_pairwise_cipher(sel, 1); in wpas_pasn_get_params_from_bss() 213 if (pairwise_cipher < 0) { in wpas_pasn_get_params_from_bss() 302 peer->cipher = pairwise_cipher; in wpas_pasn_get_params_from_bss() 496 !(rsne_data.pairwise_cipher & cipher)) { in wpas_pasn_allowed()
|
H A D | wps_supplicant.c | 232 if (adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround() 237 adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround() 242 (ssid->pairwise_cipher & WPA_CIPHER_TKIP)) { in wpas_wps_security_workaround() 256 if (ccmp && !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpas_wps_security_workaround() 257 (ssid->pairwise_cipher & WPA_CIPHER_TKIP) && in wpas_wps_security_workaround() 263 ssid->pairwise_cipher |= WPA_CIPHER_CCMP; in wpas_wps_security_workaround() 265 ssid->pairwise_cipher = WPA_CIPHER_CCMP; in wpas_wps_security_workaround() 355 new_ssid->pairwise_cipher |= ssid->pairwise_cipher; in wpas_wps_remove_dup_network() 362 ssid->pairwise_cipher != new_ssid->pairwise_cipher) in wpas_wps_remove_dup_network() 500 ssid->pairwise_cipher = WPA_CIPHER_TKIP | WPA_CIPHER_CCMP; in wpa_supplicant_wps_cred() [all …]
|
H A D | mesh_rsn.c | 180 conf.wpa_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init() 181 conf.rsn_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init() 261 mesh_rsn->pairwise_cipher = conf->pairwise_cipher; in mesh_rsn_auth_init() 527 sta->mtk_len = wpa_cipher_key_len(wpa_s->mesh_rsn->pairwise_cipher); in mesh_rsn_derive_mtk()
|
H A D | mesh.c | 111 cipher = wpa_pick_pairwise_cipher(ssid->pairwise_cipher, 0); in mesh_config_create() 117 conf->pairwise_cipher = cipher; in mesh_config_create() 277 wpa_s->pairwise_cipher = wpa_s->mesh_rsn->pairwise_cipher; in wpas_mesh_complete() 627 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_join_mesh()
|
H A D | mesh_rsn.h | 15 unsigned int pairwise_cipher; member
|
H A D | wpa_supplicant.c | 422 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy() 429 wpa_s->pairwise_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy() 433 wpa_s->pairwise_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy() 443 wpa_s->pairwise_cipher); in wpa_supplicant_set_non_wpa_policy() 1242 wpa_s->pairwise_cipher = 0; in wpa_supplicant_clear_status() 1389 if (!(ie->pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_suites_from_ai() 1392 ie->pairwise_cipher, ssid->pairwise_cipher); in wpa_supplicant_suites_from_ai() 1420 ie->pairwise_cipher = wpa_default_rsn_cipher(freq); in matching_ciphers() 1422 (ie->pairwise_cipher & ssid->pairwise_cipher); in matching_ciphers() 1719 (ie.pairwise_cipher & ssid->pairwise_cipher) && in wpa_supplicant_set_suites() [all …]
|
H A D | config_ssid.h | 274 int pairwise_cipher; member
|
H A D | config_winreg.c | 365 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_read_network() 366 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { in wpa_config_read_network() 776 if (ssid->pairwise_cipher == DEFAULT_PAIRWISE) in write_pairwise()
|
H A D | events.c | 691 ie.pairwise_cipher = wpa_default_rsn_cipher(bss->freq); in wpa_supplicant_ssid_bss_match() 697 ie.pairwise_cipher &= ~(WPA_CIPHER_WEP40 | in wpa_supplicant_ssid_bss_match() 724 if (!(ie.pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_ssid_bss_match() 853 if (!(ie.pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_ssid_bss_match() 3238 sel = ie.pairwise_cipher; in wpa_supplicant_use_own_rsne_params() 3239 if (ssid->pairwise_cipher) in wpa_supplicant_use_own_rsne_params() 3240 sel &= ssid->pairwise_cipher; in wpa_supplicant_use_own_rsne_params() 3244 ie.pairwise_cipher, ssid->pairwise_cipher, sel); in wpa_supplicant_use_own_rsne_params() 3245 if (ie.pairwise_cipher && !sel) { in wpa_supplicant_use_own_rsne_params() 3251 wpa_s->pairwise_cipher = ie.pairwise_cipher; in wpa_supplicant_use_own_rsne_params() [all …]
|
H A D | ap.c | 584 bss->wpa_pairwise = ssid->pairwise_cipher; in wpa_supplicant_conf_ap() 1027 wpa_s->pairwise_cipher = wpa_pick_pairwise_cipher(ssid->pairwise_cipher, in wpa_supplicant_create_ap() 1029 if (wpa_s->pairwise_cipher < 0) { in wpa_supplicant_create_ap() 1034 params.pairwise_suite = wpa_s->pairwise_cipher; in wpa_supplicant_create_ap()
|
H A D | README-HS20 | 537 pairwise_cipher=CCMP <--- link layer security indication 557 pairwise_cipher=NONE 567 pairwise_cipher (CCMP = secure, NONE = no encryption used).
|
H A D | wpas_glue.c | 249 wpa_s->pairwise_cipher = cipher; in wpa_eapol_set_wep_key() 1519 conf.allowed_pairwise_cipher = ssid->pairwise_cipher; in wpa_supplicant_rsn_supp_set_config()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | wpa_auth_ie.c | 648 data.pairwise_cipher = wpa_default_rsn_cipher(freq); in wpa_validate_wpa_ie() 731 data.pairwise_cipher); in wpa_validate_wpa_ie() 752 data.pairwise_cipher); in wpa_validate_wpa_ie() 846 ciphers = data.pairwise_cipher & wpa_auth->conf.rsn_pairwise; in wpa_validate_wpa_ie() 848 ciphers = data.pairwise_cipher & wpa_auth->conf.wpa_pairwise; in wpa_validate_wpa_ie() 853 data.pairwise_cipher, MAC2STR(sm->addr)); in wpa_validate_wpa_ie()
|
H A D | ap_config.h | 53 unsigned int pairwise_cipher; member
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_common.c | 1264 parse->pairwise_cipher = data.pairwise_cipher; in wpa_ft_parse_ies() 1864 data->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn() 1936 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_rsn() 1948 data->pairwise_cipher |= rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn() 1952 if (data->pairwise_cipher & WPA_CIPHER_AES_128_CMAC) { in wpa_parse_wpa_ie_rsn() 2065 data->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_parse_wpa_ie_wpa() 2104 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_wpa() 2114 data->pairwise_cipher |= wpa_selector_to_bitfield(pos); in wpa_parse_wpa_ie_wpa() 2885 ie1d.pairwise_cipher == ie2d.pairwise_cipher && in wpa_compare_rsn_ie() 4076 if (!data->has_pairwise || !data->pairwise_cipher || in wpa_pasn_validate_rsne() [all …]
|
H A D | wpa_common.h | 516 int pairwise_cipher; member 598 int pairwise_cipher; member
|
/freebsd/contrib/wpa/src/pasn/ |
H A D | pasn_responder.c | 651 !(rsn_data.pairwise_cipher & pasn->rsn_pairwise)) { in handle_auth_pasn_1() 658 pasn->cipher = rsn_data.pairwise_cipher; in handle_auth_pasn_1()
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | sta.h | 408 * @pairwise_cipher: used to feed iwlmei upon authorization 451 u32 pairwise_cipher; 438 u32 pairwise_cipher; global() member
|
H A D | mac80211.c | 3716 switch (mvm_sta->pairwise_cipher) { in iwl_mvm_sta_state_notexist_to_none() 3718 conn_info.pairwise_cipher = IWL_MEI_CIPHER_TKIP; in iwl_mvm_sta_state_notexist_to_none() 3721 conn_info.pairwise_cipher = IWL_MEI_CIPHER_CCMP; in iwl_mvm_sta_state_notexist_to_none() 3724 conn_info.pairwise_cipher = IWL_MEI_CIPHER_GCMP; in iwl_mvm_sta_state_notexist_to_none() 3727 conn_info.pairwise_cipher = IWL_MEI_CIPHER_GCMP_256; 4524 mvmsta->pairwise_cipher = key->cipher; in iwl_mvm_send_aux_roc_cmd()
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers.c | 5537 if (ie_data->pairwise_cipher & WPA_CIPHER_TKIP) in wpas_dbus_get_bss_security_prop() 5540 if (ie_data->pairwise_cipher & WPA_CIPHER_CCMP) in wpas_dbus_get_bss_security_prop() 5542 if (ie_data->pairwise_cipher & WPA_CIPHER_GCMP) in wpas_dbus_get_bss_security_prop() 5544 if (ie_data->pairwise_cipher & WPA_CIPHER_CCMP_256) in wpas_dbus_get_bss_security_prop() 5546 if (ie_data->pairwise_cipher & WPA_CIPHER_GCMP_256) in wpas_dbus_get_bss_security_prop()
|