Home
last modified time | relevance | path

Searched refs:pairwise_cipher (Results 1 – 25 of 64) sorted by relevance

123

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_ie.c42 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 …]
Dwpa_ft.c80 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()
Dwpa.c201 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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_ie.c42 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 …]
Dwpa_ft.c65 ptk_name, sm->key_mgmt, sm->pairwise_cipher); in wpa_derive_ptk_ft()
208 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_gen_req_ies()
210 sm->pairwise_cipher); in wpa_ft_gen_req_ies()
215 sm->pairwise_cipher)); in wpa_ft_gen_req_ies()
406 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_ft_install_ptk()
408 sm->pairwise_cipher); in wpa_ft_install_ptk()
412 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_ft_install_ptk()
413 keylen = wpa_cipher_key_len(sm->pairwise_cipher); in wpa_ft_install_ptk()
619 sm->pairwise_cipher) < 0) in wpa_ft_process_response()
Dwpa.c191 else if (sm->pairwise_cipher != WPA_CIPHER_TKIP) in wpa_sm_key_request()
581 sm->pairwise_cipher, z, z_len); in wpa_derive_ptk()
646 if (sm->pairwise_cipher == WPA_CIPHER_TKIP) { in wpa_supplicant_process_1_of_4()
733 wpa_cipher_txt(sm->pairwise_cipher), in wpa_supplicant_key_neg_complete()
799 if (sm->pairwise_cipher == WPA_CIPHER_NONE) { in wpa_supplicant_install_ptk()
805 if (!wpa_cipher_valid_pairwise(sm->pairwise_cipher)) { in wpa_supplicant_install_ptk()
808 sm->pairwise_cipher); in wpa_supplicant_install_ptk()
812 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_supplicant_install_ptk()
813 keylen = wpa_cipher_key_len(sm->pairwise_cipher); in wpa_supplicant_install_ptk()
819 rsclen = wpa_cipher_rsc_len(sm->pairwise_cipher); in wpa_supplicant_install_ptk()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmesh.c102 cipher = wpa_pick_pairwise_cipher(ssid->pairwise_cipher, 0); in mesh_config_create()
108 conf->pairwise_cipher = cipher; in mesh_config_create()
216 wpa_s->pairwise_cipher = wpa_s->mesh_rsn->pairwise_cipher; in wpas_mesh_complete()
450 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_join_mesh()
Dwps_supplicant.c220 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 …]
Dmesh_rsn.c161 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()
Dmesh_rsn.h15 unsigned int pairwise_cipher; member
Dwpa_supplicant.c408 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy()
414 wpa_s->pairwise_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy()
418 wpa_s->pairwise_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy()
427 wpa_s->pairwise_cipher); in wpa_supplicant_set_non_wpa_policy()
1051 wpa_s->pairwise_cipher = 0; in wpa_supplicant_clear_status()
1196 if (!(ie->pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_suites_from_ai()
1199 ie->pairwise_cipher, ssid->pairwise_cipher); in wpa_supplicant_suites_from_ai()
1229 ie->pairwise_cipher = wpa_default_rsn_cipher(freq); in matching_ciphers()
1231 (ie->pairwise_cipher & ssid->pairwise_cipher); in matching_ciphers()
1273 (ie.pairwise_cipher & ssid->pairwise_cipher) && in wpa_supplicant_set_suites()
[all …]
Dconfig_ssid.h235 int pairwise_cipher; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwps_supplicant.c221 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()
492 ssid->pairwise_cipher = WPA_CIPHER_TKIP | WPA_CIPHER_CCMP; in wpa_supplicant_wps_cred()
[all …]
Dmesh_rsn.c162 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()
Dmesh_rsn.h15 unsigned int pairwise_cipher; member
Dmesh.c111 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()
Dwpa_supplicant.c423 wpa_s->pairwise_cipher = WPA_CIPHER_NONE; in wpa_supplicant_set_non_wpa_policy()
430 wpa_s->pairwise_cipher = WPA_CIPHER_WEP104; in wpa_supplicant_set_non_wpa_policy()
434 wpa_s->pairwise_cipher = WPA_CIPHER_WEP40; in wpa_supplicant_set_non_wpa_policy()
444 wpa_s->pairwise_cipher); in wpa_supplicant_set_non_wpa_policy()
1144 wpa_s->pairwise_cipher = 0; in wpa_supplicant_clear_status()
1290 if (!(ie->pairwise_cipher & ssid->pairwise_cipher)) { in wpa_supplicant_suites_from_ai()
1293 ie->pairwise_cipher, ssid->pairwise_cipher); in wpa_supplicant_suites_from_ai()
1321 ie->pairwise_cipher = wpa_default_rsn_cipher(freq); in matching_ciphers()
1323 (ie->pairwise_cipher & ssid->pairwise_cipher); in matching_ciphers()
1408 (ie.pairwise_cipher & ssid->pairwise_cipher) && in wpa_supplicant_set_suites()
[all …]
Dconfig_ssid.h251 int pairwise_cipher; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ie.c564 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.c964 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()
2116 ie1d.pairwise_cipher == ie2d.pairwise_cipher && in wpa_compare_rsn_ie()
Dwpa_common.h395 int pairwise_cipher; member
468 int pairwise_cipher; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
Dwpagui.cpp536 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
Dwpagui.cpp534 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ie.c620 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_common.c1040 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 …]

123