/external/wpa_supplicant_8/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() 109 int pairwise_cipher, int group_cipher, in wpa_gen_wpa_ie_rsn() argument 142 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, pairwise_cipher); in wpa_gen_wpa_ie_rsn() 144 (!wpa_cipher_valid_pairwise(pairwise_cipher) && in wpa_gen_wpa_ie_rsn() 145 pairwise_cipher != WPA_CIPHER_NONE)) { in wpa_gen_wpa_ie_rsn() 147 pairwise_cipher); in wpa_gen_wpa_ie_rsn() [all …]
|
D | wpa_ft.c | 56 ptk_name, sm->key_mgmt, sm->pairwise_cipher); in wpa_derive_ptk_ft() 199 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_gen_req_ies() 201 sm->pairwise_cipher); in wpa_ft_gen_req_ies() 206 sm->pairwise_cipher)); in wpa_ft_gen_req_ies() 397 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_install_ptk() 399 sm->pairwise_cipher); in wpa_ft_install_ptk() 403 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_ft_install_ptk() 404 keylen = wpa_cipher_key_len(sm->pairwise_cipher); in wpa_ft_install_ptk() 610 sm->pairwise_cipher) < 0) in wpa_ft_process_response()
|
D | wpa.c | 191 else if (sm->pairwise_cipher != WPA_CIPHER_TKIP) in wpa_sm_key_request() 555 sm->pairwise_cipher, z, z_len); in wpa_derive_ptk() 620 if (sm->pairwise_cipher == WPA_CIPHER_TKIP) { in wpa_supplicant_process_1_of_4() 707 wpa_cipher_txt(sm->pairwise_cipher), in wpa_supplicant_key_neg_complete() 773 if (sm->pairwise_cipher == WPA_CIPHER_NONE) { in wpa_supplicant_install_ptk() 779 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_supplicant_install_ptk() 782 sm->pairwise_cipher); in wpa_supplicant_install_ptk() 786 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_supplicant_install_ptk() 787 keylen = wpa_cipher_key_len(sm->pairwise_cipher); in wpa_supplicant_install_ptk() 793 rsclen = wpa_cipher_rsc_len(sm->pairwise_cipher); in wpa_supplicant_install_ptk() [all …]
|
D | wpa_i.h | 82 unsigned int pairwise_cipher; member
|
D | tdls.c | 167 return sm->pairwise_cipher != WPA_CIPHER_NONE; in wpa_tdls_get_privacy() 224 sm->pairwise_cipher); in wpa_tdls_set_key() 1975 cipher = ie.pairwise_cipher; in wpa_tdls_process_tpk_m1() 2368 cipher = ie.pairwise_cipher; in wpa_tdls_process_tpk_m2()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wps_supplicant.c | 220 if (adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround() 225 adv.pairwise_cipher & WPA_CIPHER_CCMP) in wpas_wps_security_workaround() 230 (ssid->pairwise_cipher & WPA_CIPHER_TKIP)) { in wpas_wps_security_workaround() 242 if (ccmp && !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpas_wps_security_workaround() 243 (ssid->pairwise_cipher & WPA_CIPHER_TKIP) && in wpas_wps_security_workaround() 248 ssid->pairwise_cipher |= WPA_CIPHER_CCMP; in wpas_wps_security_workaround() 250 ssid->pairwise_cipher = WPA_CIPHER_CCMP; in wpas_wps_security_workaround() 341 new_ssid->pairwise_cipher |= ssid->pairwise_cipher; in wpas_wps_remove_dup_network() 348 ssid->pairwise_cipher != new_ssid->pairwise_cipher) in wpas_wps_remove_dup_network() 487 ssid->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_supplicant_wps_cred() [all …]
|
D | mesh.c | 102 cipher = wpa_pick_pairwise_cipher(ssid->pairwise_cipher, 0); in mesh_config_create() 108 conf->pairwise_cipher = cipher; in mesh_config_create() 215 wpa_s->pairwise_cipher = wpa_s->mesh_rsn->pairwise_cipher; in wpas_mesh_complete() 449 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_join_mesh()
|
D | wpa_supplicant.c | 403 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy() 409 wpa_s->pairwise_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy() 413 wpa_s->pairwise_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy() 422 wpa_s->pairwise_cipher); in wpa_supplicant_set_non_wpa_policy() 1024 wpa_s->pairwise_cipher = 0; in wpa_supplicant_clear_status() 1169 if (!(ie->pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_suites_from_ai() 1172 ie->pairwise_cipher, ssid->pairwise_cipher); in wpa_supplicant_suites_from_ai() 1202 ie->pairwise_cipher = wpa_default_rsn_cipher(freq); in matching_ciphers() 1204 (ie->pairwise_cipher & ssid->pairwise_cipher); in matching_ciphers() 1246 (ie.pairwise_cipher & ssid->pairwise_cipher) && in wpa_supplicant_set_suites() [all …]
|
D | mesh_rsn.c | 161 conf.wpa_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init() 162 conf.rsn_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init() 243 mesh_rsn->pairwise_cipher = conf->pairwise_cipher; in mesh_rsn_auth_init() 509 sta->mtk_len = wpa_cipher_key_len(wpa_s->mesh_rsn->pairwise_cipher); in mesh_rsn_derive_mtk()
|
D | mesh_rsn.h | 15 unsigned int pairwise_cipher; member
|
D | config_ssid.h | 226 int pairwise_cipher; member
|
D | config_winreg.c | 356 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_read_network() 357 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { in wpa_config_read_network() 766 if (ssid->pairwise_cipher == DEFAULT_PAIRWISE) in write_pairwise()
|
D | ap.c | 378 bss->wpa_pairwise = ssid->pairwise_cipher; in wpa_supplicant_conf_ap() 752 wpa_s->pairwise_cipher = wpa_pick_pairwise_cipher(ssid->pairwise_cipher, in wpa_supplicant_create_ap() 754 if (wpa_s->pairwise_cipher < 0) { in wpa_supplicant_create_ap() 759 params.pairwise_suite = wpa_s->pairwise_cipher; in wpa_supplicant_create_ap()
|
D | README-HS20 | 500 pairwise_cipher=CCMP <--- link layer security indication 520 pairwise_cipher=NONE 530 pairwise_cipher (CCMP = secure, NONE = no encryption used).
|
D | wpas_glue.c | 239 wpa_s->pairwise_cipher = cipher; in wpa_eapol_set_wep_key() 1267 conf.allowed_pairwise_cipher = ssid->pairwise_cipher; in wpa_supplicant_rsn_supp_set_config()
|
D | events.c | 564 ie.pairwise_cipher = wpa_default_rsn_cipher(bss->freq); in wpa_supplicant_ssid_bss_match() 585 if (!(ie.pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_ssid_bss_match() 687 if (!(ie.pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_ssid_bss_match()
|
D | config_file.c | 144 !(ssid->pairwise_cipher & (WPA_CIPHER_CCMP | WPA_CIPHER_CCMP_256 | in wpa_config_validate_network() 580 if (ssid->pairwise_cipher == DEFAULT_PAIRWISE) in write_pairwise()
|
D | config.c | 1136 if (ssid->pairwise_cipher == val) in wpa_config_parse_pairwise() 1139 ssid->pairwise_cipher = val; in wpa_config_parse_pairwise() 1148 return wpa_config_write_cipher(ssid->pairwise_cipher); in wpa_config_write_pairwise() 2855 ssid->pairwise_cipher = DEFAULT_PAIRWISE; in wpa_config_set_network_defaults()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ie.c | 564 data.pairwise_cipher = wpa_default_rsn_cipher(freq); in wpa_validate_wpa_ie() 641 data.pairwise_cipher); in wpa_validate_wpa_ie() 662 data.pairwise_cipher); in wpa_validate_wpa_ie() 750 ciphers = data.pairwise_cipher & wpa_auth->conf.rsn_pairwise; in wpa_validate_wpa_ie() 752 ciphers = data.pairwise_cipher & wpa_auth->conf.wpa_pairwise; in wpa_validate_wpa_ie() 757 data.pairwise_cipher, MAC2STR(sm->addr)); in wpa_validate_wpa_ie()
|
D | ap_config.h | 46 unsigned int pairwise_cipher; member
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 964 parse->pairwise_cipher = data.pairwise_cipher; in wpa_ft_parse_ies() 1200 data->pairwise_cipher = WPA_CIPHER_CCMP; in wpa_parse_wpa_ie_rsn() 1269 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_rsn() 1281 data->pairwise_cipher |= rsn_selector_to_bitfield(pos); in wpa_parse_wpa_ie_rsn() 1286 if (data->pairwise_cipher & WPA_CIPHER_AES_128_CMAC) { in wpa_parse_wpa_ie_rsn() 1402 data->pairwise_cipher = WPA_CIPHER_TKIP; in wpa_parse_wpa_ie_wpa() 1441 data->pairwise_cipher = 0; in wpa_parse_wpa_ie_wpa() 1451 data->pairwise_cipher |= wpa_selector_to_bitfield(pos); in wpa_parse_wpa_ie_wpa() 2106 ie1d.pairwise_cipher == ie2d.pairwise_cipher && in wpa_compare_rsn_ie()
|
D | wpa_common.h | 395 int pairwise_cipher; member 468 int pairwise_cipher; member
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | wpagui.cpp | 534 char *pairwise_cipher = NULL, *group_cipher = NULL; in updateStatus() local 575 pairwise_cipher = pos; in updateStatus() 590 if (pairwise_cipher || group_cipher) { in updateStatus() 592 if (pairwise_cipher && group_cipher && in updateStatus() 593 strcmp(pairwise_cipher, group_cipher) != 0) { in updateStatus() 594 encr.append(pairwise_cipher); in updateStatus() 597 } else if (pairwise_cipher) { in updateStatus() 598 encr.append(pairwise_cipher); in updateStatus()
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers.c | 4593 if (ie_data->pairwise_cipher & WPA_CIPHER_TKIP) in wpas_dbus_get_bss_security_prop() 4595 if (ie_data->pairwise_cipher & WPA_CIPHER_CCMP) in wpas_dbus_get_bss_security_prop() 4597 if (ie_data->pairwise_cipher & WPA_CIPHER_GCMP) in wpas_dbus_get_bss_security_prop() 4599 if (ie_data->pairwise_cipher & WPA_CIPHER_CCMP_256) in wpas_dbus_get_bss_security_prop() 4601 if (ie_data->pairwise_cipher & WPA_CIPHER_GCMP_256) in wpas_dbus_get_bss_security_prop()
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/ |
D | sta_network.cpp | 928 wpa_ssid->pairwise_cipher = pairwise_cipher_mask; in setPairwiseCipherInternal() 930 MSG_MSGDUMP, "pairwise_cipher: 0x%x", wpa_ssid->pairwise_cipher); in setPairwiseCipherInternal() 1355 wpa_ssid->pairwise_cipher & kAllowedPairwisewCipherMask}; in getPairwiseCipherInternal()
|