/hostap-3.6.0/wlantest/ |
D | sta.c | 127 sta->pairwise_cipher = WPA_CIPHER_CCMP; in sta_update_assoc() 134 sta->pairwise_cipher = 0; in sta_update_assoc() 138 sta->pairwise_cipher = WPA_CIPHER_WEP40; in sta_update_assoc() 143 sta->pairwise_cipher = data.pairwise_cipher; in sta_update_assoc() 152 if (bss->pairwise_cipher && in sta_update_assoc() 153 (sta->pairwise_cipher & bss->pairwise_cipher) == 0) { in sta_update_assoc() 156 MAC2STR(sta->addr), sta->pairwise_cipher, in sta_update_assoc() 157 MAC2STR(bss->bssid), bss->pairwise_cipher); in sta_update_assoc() 190 sta->pairwise_cipher == 0 ? "N/A " : "", in sta_update_assoc() 191 sta->pairwise_cipher & WPA_CIPHER_NONE ? "NONE " : "", in sta_update_assoc() [all …]
|
D | bss.c | 243 bss->pairwise_cipher = 0; in bss_update() 256 bss->pairwise_cipher |= data.pairwise_cipher; in bss_update() 271 bss->pairwise_cipher |= data.pairwise_cipher; in bss_update() 281 bss->pairwise_cipher |= WPA_CIPHER_CCMP; in bss_update() 306 bss->pairwise_cipher == 0 ? "N/A " : "", in bss_update() 307 bss->pairwise_cipher & WPA_CIPHER_NONE ? "NONE " : "", in bss_update() 308 bss->pairwise_cipher & WPA_CIPHER_TKIP ? "TKIP " : "", in bss_update() 309 bss->pairwise_cipher & WPA_CIPHER_CCMP ? "CCMP " : "", in bss_update() 310 bss->pairwise_cipher & WPA_CIPHER_CCMP_256 ? "CCMP-256 " : in bss_update() 312 bss->pairwise_cipher & WPA_CIPHER_GCMP ? "GCMP " : "", in bss_update() [all …]
|
D | rx_data.c | 153 static u8 * try_ptk(struct wlantest *wt, int pairwise_cipher, in try_ptk() argument 161 if ((pairwise_cipher == WPA_CIPHER_CCMP || in try_ptk() 162 pairwise_cipher == 0) && tk_len == 16) { in try_ptk() 165 } else if ((pairwise_cipher == WPA_CIPHER_CCMP_256 || in try_ptk() 166 pairwise_cipher == 0) && tk_len == 32) { in try_ptk() 169 } else if ((pairwise_cipher == WPA_CIPHER_GCMP || in try_ptk() 170 pairwise_cipher == WPA_CIPHER_GCMP_256 || in try_ptk() 171 pairwise_cipher == 0) && in try_ptk() 175 } else if ((pairwise_cipher == WPA_CIPHER_TKIP || in try_ptk() 176 pairwise_cipher == 0) && tk_len == 32) { in try_ptk() [all …]
|
D | wlantest.h | 69 int pairwise_cipher; member 151 int pairwise_cipher; member
|
D | rx_mgmt.c | 215 sta->pairwise_cipher = data.pairwise_cipher; in process_fils_auth() 258 sta->pairwise_cipher = parse.pairwise_cipher; in process_ft_auth() 295 sta->pairwise_cipher, 0) < 0) in process_ft_auth() 498 sta->key_mgmt, sta->pairwise_cipher, in try_rmsk() 1716 sta->pairwise_cipher = parse.pairwise_cipher; in rx_mgmt_action_ft_request() 1784 new_sta->key_mgmt, new_sta->pairwise_cipher, in rx_mgmt_action_ft_response()
|
D | inject.c | 251 else if (sta->pairwise_cipher == WPA_CIPHER_TKIP) in wlantest_inject_prot()
|
D | rx_eapol.c | 123 sta->pairwise_cipher, 0) < 0 || in try_pmk() 131 sta->pairwise_cipher, NULL, 0, 0) < 0 || in try_pmk() 202 wpa_cipher_key_len(sta->pairwise_cipher); in derive_ptk()
|
/hostap-3.6.0/src/rsn_supp/ |
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() 126 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_rsn() argument 158 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, pairwise_cipher); in wpa_gen_wpa_ie_rsn() 160 (!wpa_cipher_valid_pairwise(pairwise_cipher) && in wpa_gen_wpa_ie_rsn() 161 pairwise_cipher != WPA_CIPHER_NONE)) { in wpa_gen_wpa_ie_rsn() 163 pairwise_cipher); in wpa_gen_wpa_ie_rsn() [all …]
|
D | wpa_ft.c | 80 ptk_name, sm->key_mgmt, sm->pairwise_cipher, in wpa_derive_ptk_ft() 235 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_gen_req_ies() 237 sm->pairwise_cipher); in wpa_ft_gen_req_ies() 242 sm->pairwise_cipher)); in wpa_ft_gen_req_ies() 455 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_install_ptk() 457 sm->pairwise_cipher); in wpa_ft_install_ptk() 461 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_ft_install_ptk() 462 keylen = wpa_cipher_key_len(sm->pairwise_cipher); in wpa_ft_install_ptk() 471 wpa_sm_store_ptk(sm, sm->bssid, sm->pairwise_cipher, in wpa_ft_install_ptk() 684 sm->pairwise_cipher, in wpa_ft_process_response()
|
D | wpa.c | 201 else if (sm->pairwise_cipher != WPA_CIPHER_TKIP) in wpa_sm_key_request() 621 sm->pairwise_cipher, z, z_len, in wpa_derive_ptk() 740 if (sm->pairwise_cipher == WPA_CIPHER_TKIP) { in wpa_supplicant_process_1_of_4() 857 wpa_cipher_txt(sm->pairwise_cipher), in wpa_supplicant_key_neg_complete() 924 if (sm->pairwise_cipher == WPA_CIPHER_NONE) { in wpa_supplicant_install_ptk() 930 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_supplicant_install_ptk() 933 sm->pairwise_cipher); in wpa_supplicant_install_ptk() 937 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_supplicant_install_ptk() 938 keylen = wpa_cipher_key_len(sm->pairwise_cipher); in wpa_supplicant_install_ptk() 944 rsclen = wpa_cipher_rsc_len(sm->pairwise_cipher); in wpa_supplicant_install_ptk() [all …]
|
/hostap-3.6.0/wpa_supplicant/ |
D | wps_supplicant.c | 221 if (adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround() 226 adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround() 231 (ssid->pairwise_cipher & WPA_CIPHER_TKIP)) { in wpas_wps_security_workaround() 245 if (ccmp && !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpas_wps_security_workaround() 246 (ssid->pairwise_cipher & WPA_CIPHER_TKIP) && in wpas_wps_security_workaround() 252 ssid->pairwise_cipher |= WPA_CIPHER_CCMP; in wpas_wps_security_workaround() 254 ssid->pairwise_cipher = WPA_CIPHER_CCMP; in wpas_wps_security_workaround() 345 new_ssid->pairwise_cipher |= ssid->pairwise_cipher; in wpas_wps_remove_dup_network() 352 ssid->pairwise_cipher != new_ssid->pairwise_cipher) in wpas_wps_remove_dup_network() 490 ssid->pairwise_cipher = WPA_CIPHER_TKIP | WPA_CIPHER_CCMP; in wpa_supplicant_wps_cred() [all …]
|
D | mesh_rsn.c | 162 conf.wpa_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init() 163 conf.rsn_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init() 243 mesh_rsn->pairwise_cipher = conf->pairwise_cipher; in mesh_rsn_auth_init() 508 sta->mtk_len = wpa_cipher_key_len(wpa_s->mesh_rsn->pairwise_cipher); in mesh_rsn_derive_mtk()
|
D | wpa_supplicant.c | 421 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy() 428 wpa_s->pairwise_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy() 432 wpa_s->pairwise_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy() 442 wpa_s->pairwise_cipher); in wpa_supplicant_set_non_wpa_policy() 1146 wpa_s->pairwise_cipher = 0; in wpa_supplicant_clear_status() 1293 if (!(ie->pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_suites_from_ai() 1296 ie->pairwise_cipher, ssid->pairwise_cipher); in wpa_supplicant_suites_from_ai() 1324 ie->pairwise_cipher = wpa_default_rsn_cipher(freq); in matching_ciphers() 1326 (ie->pairwise_cipher & ssid->pairwise_cipher); in matching_ciphers() 1411 (ie.pairwise_cipher & ssid->pairwise_cipher) && in wpa_supplicant_set_suites() [all …]
|
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() 276 wpa_s->pairwise_cipher = wpa_s->mesh_rsn->pairwise_cipher; in wpas_mesh_complete() 626 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_join_mesh()
|
D | mesh_rsn.h | 15 unsigned int pairwise_cipher; member
|
D | events.c | 597 ie.pairwise_cipher = wpa_default_rsn_cipher(bss->freq); in wpa_supplicant_ssid_bss_match() 620 if (!(ie.pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_ssid_bss_match() 709 if (!(ie.pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_ssid_bss_match() 2764 sel = ie.pairwise_cipher; in wpa_supplicant_use_own_rsne_params() 2765 if (ssid->pairwise_cipher) in wpa_supplicant_use_own_rsne_params() 2766 sel &= ssid->pairwise_cipher; in wpa_supplicant_use_own_rsne_params() 2770 ie.pairwise_cipher, ssid->pairwise_cipher, sel); in wpa_supplicant_use_own_rsne_params() 2771 if (ie.pairwise_cipher && !sel) { in wpa_supplicant_use_own_rsne_params() 2777 wpa_s->pairwise_cipher = ie.pairwise_cipher; in wpa_supplicant_use_own_rsne_params() 2779 wpa_s->pairwise_cipher); in wpa_supplicant_use_own_rsne_params() [all …]
|
D | config_ssid.h | 251 int pairwise_cipher; member
|
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() 775 if (ssid->pairwise_cipher == DEFAULT_PAIRWISE) in write_pairwise()
|
D | ap.c | 547 bss->wpa_pairwise = ssid->pairwise_cipher; in wpa_supplicant_conf_ap() 985 wpa_s->pairwise_cipher = wpa_pick_pairwise_cipher(ssid->pairwise_cipher, in wpa_supplicant_create_ap() 987 if (wpa_s->pairwise_cipher < 0) { in wpa_supplicant_create_ap() 992 params.pairwise_suite = wpa_s->pairwise_cipher; in wpa_supplicant_create_ap()
|
D | README-HS20 | 506 pairwise_cipher=CCMP <--- link layer security indication 526 pairwise_cipher=NONE 536 pairwise_cipher (CCMP = secure, NONE = no encryption used).
|
D | wpas_glue.c | 249 wpa_s->pairwise_cipher = cipher; in wpa_eapol_set_wep_key() 1448 conf.allowed_pairwise_cipher = ssid->pairwise_cipher; in wpa_supplicant_rsn_supp_set_config()
|
/hostap-3.6.0/wpa_supplicant/wpa_gui-qt4/ |
D | wpagui.cpp | 536 char *pairwise_cipher = NULL, *group_cipher = NULL; in updateStatus() local 577 pairwise_cipher = pos; in updateStatus() 592 if (pairwise_cipher || group_cipher) { in updateStatus() 594 if (pairwise_cipher && group_cipher && in updateStatus() 595 strcmp(pairwise_cipher, group_cipher) != 0) { in updateStatus() 596 encr.append(pairwise_cipher); in updateStatus() 599 } else if (pairwise_cipher) { in updateStatus() 600 encr.append(pairwise_cipher); in updateStatus()
|
/hostap-3.6.0/src/ap/ |
D | wpa_auth_ie.c | 620 data.pairwise_cipher = wpa_default_rsn_cipher(freq); in wpa_validate_wpa_ie() 695 data.pairwise_cipher); in wpa_validate_wpa_ie() 716 data.pairwise_cipher); in wpa_validate_wpa_ie() 802 ciphers = data.pairwise_cipher & wpa_auth->conf.rsn_pairwise; in wpa_validate_wpa_ie() 804 ciphers = data.pairwise_cipher & wpa_auth->conf.wpa_pairwise; in wpa_validate_wpa_ie() 809 data.pairwise_cipher, MAC2STR(sm->addr)); in wpa_validate_wpa_ie()
|
/hostap-3.6.0/src/common/ |
D | wpa_common.c | 1040 parse->pairwise_cipher = data.pairwise_cipher; in wpa_ft_parse_ies() 1548 data->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn() 1613 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_rsn() 1625 data->pairwise_cipher |= rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn() 1629 if (data->pairwise_cipher & WPA_CIPHER_AES_128_CMAC) { in wpa_parse_wpa_ie_rsn() 1742 data->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_parse_wpa_ie_wpa() 1781 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_wpa() 1791 data->pairwise_cipher |= wpa_selector_to_bitfield(pos); in wpa_parse_wpa_ie_wpa() 2471 ie1d.pairwise_cipher == ie2d.pairwise_cipher && in wpa_compare_rsn_ie() 3575 if (!data->has_pairwise || !data->pairwise_cipher || in wpa_pasn_validate_rsne() [all …]
|
D | wpa_common.h | 439 int pairwise_cipher; member 517 int pairwise_cipher; member
|