Home
last modified time | relevance | path

Searched refs:rsn (Results 1 – 25 of 33) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmesh_rsn.c144 static int __mesh_rsn_auth_init(struct mesh_rsn *rsn, const u8 *addr, in __mesh_rsn_auth_init() argument
161 conf.wpa_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init()
162 conf.rsn_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init()
163 conf.wpa_group = rsn->group_cipher; in __mesh_rsn_auth_init()
171 conf.group_mgmt_cipher = rsn->mgmt_group_cipher; in __mesh_rsn_auth_init()
177 rsn->auth = wpa_init(addr, &conf, &cb, rsn); in __mesh_rsn_auth_init()
178 if (rsn->auth == NULL) { in __mesh_rsn_auth_init()
184 rsn->mgtk_len = wpa_cipher_key_len(conf.wpa_group); in __mesh_rsn_auth_init()
185 if (random_get_bytes(rsn->mgtk, rsn->mgtk_len) < 0) in __mesh_rsn_auth_init()
187 rsn->mgtk_key_id = 1; in __mesh_rsn_auth_init()
[all …]
Dmesh_rsn.h34 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid);
37 int mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta,
Dsme.c312 const u8 *rsn; in sme_send_authentication() local
315 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in sme_send_authentication()
316 if (!rsn) { in sme_send_authentication()
320 } else if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 && in sme_send_authentication()
325 } else if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 && in sme_send_authentication()
498 const u8 *rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in sme_send_authentication() local
500 if (rsn && wpa_parse_wpa_ie(rsn, 2 + rsn[1], &_ie) == 0 && in sme_send_authentication()
Ddpp_supplicant.c2010 const u8 *rsn; in wpas_dpp_check_connect() local
2015 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpas_dpp_check_connect()
2016 if (rsn && wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 && in wpas_dpp_check_connect()
Devents.c1639 const u8 *ssid, *rsn; in wpa_supplicant_rsn_preauth_scan_results() local
1645 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_rsn_preauth_scan_results()
1646 if (rsn == NULL) in wpa_supplicant_rsn_preauth_scan_results()
1649 rsn_preauth_scan_result(wpa_s->wpa, bss->bssid, ssid, rsn); in wpa_supplicant_rsn_preauth_scan_results()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dmesh_rsn.c145 static int __mesh_rsn_auth_init(struct mesh_rsn *rsn, const u8 *addr, in __mesh_rsn_auth_init() argument
162 conf.wpa_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init()
163 conf.rsn_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init()
164 conf.wpa_group = rsn->group_cipher; in __mesh_rsn_auth_init()
171 conf.group_mgmt_cipher = rsn->mgmt_group_cipher; in __mesh_rsn_auth_init()
176 rsn->auth = wpa_init(addr, &conf, &cb, rsn); in __mesh_rsn_auth_init()
177 if (rsn->auth == NULL) { in __mesh_rsn_auth_init()
183 rsn->mgtk_len = wpa_cipher_key_len(conf.wpa_group); in __mesh_rsn_auth_init()
184 if (random_get_bytes(rsn->mgtk, rsn->mgtk_len) < 0) in __mesh_rsn_auth_init()
186 rsn->mgtk_key_id = 1; in __mesh_rsn_auth_init()
[all …]
Dmesh_rsn.h34 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid);
37 int mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta,
Dsme.c399 const u8 *rsn; in sme_send_authentication() local
402 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in sme_send_authentication()
403 if (!rsn) { in sme_send_authentication()
407 } else if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 && in sme_send_authentication()
412 } else if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 && in sme_send_authentication()
585 const u8 *rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in sme_send_authentication() local
587 if (rsn && wpa_parse_wpa_ie(rsn, 2 + rsn[1], &_ie) == 0 && in sme_send_authentication()
Ddpp_supplicant.c3132 const u8 *rsn; in wpas_dpp_check_connect() local
3138 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpas_dpp_check_connect()
3139 if (rsn && wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 && in wpas_dpp_check_connect()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dpreauth.h22 const u8 *ssid, const u8 *rsn);
56 const u8 *ssid, const u8 *rsn) in rsn_preauth_scan_result() argument
Dwpa.c1485 struct wpa_ie_data rsn; in ft_validate_rsnie() local
1494 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie()
1495 rsn.num_pmkid != 1 || rsn.pmkid == NULL) { in ft_validate_rsnie()
1501 if (os_memcmp_const(rsn.pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN) != 0) in ft_validate_rsnie()
1507 rsn.pmkid, WPA_PMK_NAME_LEN); in ft_validate_rsnie()
3484 struct wpa_ie_data rsn; in wpa_sm_get_status() local
3485 if (wpa_parse_wpa_ie_rsn(sm->ap_rsn_ie, sm->ap_rsn_ie_len, &rsn) in wpa_sm_get_status()
3487 rsn.capabilities & (WPA_CAPABILITY_MFPR | in wpa_sm_get_status()
3491 (rsn.capabilities & in wpa_sm_get_status()
3507 struct wpa_ie_data rsn; in wpa_sm_pmf_enabled() local
[all …]
Dpreauth.c494 const u8 *ssid, const u8 *rsn) in rsn_preauth_scan_result() argument
506 if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ie)) in rsn_preauth_scan_result()
Dwpa_ft.c1123 parse.rsn - 2, parse.rsn_len + 2, in wpa_ft_validate_reassoc_resp()
1160 parse.rsn - 2, parse.rsn_len + 2)) { in wpa_ft_validate_reassoc_resp()
1167 parse.rsn ? parse.rsn - 2 : NULL, in wpa_ft_validate_reassoc_resp()
1168 parse.rsn ? parse.rsn_len + 2 : 0); in wpa_ft_validate_reassoc_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dpreauth.h22 const u8 *ssid, const u8 *rsn);
56 const u8 *ssid, const u8 *rsn) in rsn_preauth_scan_result() argument
Dwpa.c1254 struct wpa_ie_data rsn; in ft_validate_rsnie() local
1263 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie()
1264 rsn.num_pmkid != 1 || rsn.pmkid == NULL) { in ft_validate_rsnie()
1270 if (os_memcmp_const(rsn.pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN) != 0) in ft_validate_rsnie()
1276 rsn.pmkid, WPA_PMK_NAME_LEN); in ft_validate_rsnie()
3098 struct wpa_ie_data rsn; in wpa_sm_get_status() local
3099 if (wpa_parse_wpa_ie_rsn(sm->ap_rsn_ie, sm->ap_rsn_ie_len, &rsn) in wpa_sm_get_status()
3101 rsn.capabilities & (WPA_CAPABILITY_MFPR | in wpa_sm_get_status()
3105 (rsn.capabilities & in wpa_sm_get_status()
3121 struct wpa_ie_data rsn; in wpa_sm_pmf_enabled() local
[all …]
Dpreauth.c471 const u8 *ssid, const u8 *rsn) in rsn_preauth_scan_result() argument
483 if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ie)) in rsn_preauth_scan_result()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.h454 const u8 *rsn; member
Dwpa_common.c951 parse->rsn = pos; in wpa_ft_parse_ies()
953 ret = wpa_parse_wpa_ie_rsn(parse->rsn - 2, in wpa_ft_parse_ies()
1043 if (parse->rsn) in wpa_ft_parse_ies()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dieee802_11.c1442 struct wpa_ie_data rsn; in handle_auth_fils() local
1538 &rsn) < 0) { in handle_auth_fils()
1572 if (rsn.pmkid && rsn.num_pmkid > 0) { in handle_auth_fils()
1577 rsn.pmkid, rsn.num_pmkid * PMKID_LEN); in handle_auth_fils()
1579 pmkid = rsn.pmkid; in handle_auth_fils()
1580 num = rsn.num_pmkid; in handle_auth_fils()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_common.h505 const u8 *rsn; member
Dwpa_common.c1029 parse->rsn = pos; in wpa_ft_parse_ies()
1031 ret = wpa_parse_wpa_ie_rsn(parse->rsn - 2, in wpa_ft_parse_ies()
1133 if (parse->rsn) in wpa_ft_parse_ies()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dieee802_11.c1783 struct wpa_ie_data rsn; in handle_auth_fils() local
1879 &rsn) < 0) { in handle_auth_fils()
1915 if (rsn.pmkid && rsn.num_pmkid > 0) { in handle_auth_fils()
1920 rsn.pmkid, rsn.num_pmkid * PMKID_LEN); in handle_auth_fils()
1922 pmkid = rsn.pmkid; in handle_auth_fils()
1923 num = rsn.num_pmkid; in handle_auth_fils()
/third_party/icu/icu4c/source/i18n/
Drbnf.cpp1095 UnicodeString rsn(ruleSetName); in getRuleSetDisplayName() local
1096 int32_t ix = localizations->indexForRuleSet(rsn.getTerminatedBuffer()); in getRuleSetDisplayName()
/third_party/skia/third_party/externals/icu/source/i18n/
Drbnf.cpp1095 UnicodeString rsn(ruleSetName); in getRuleSetDisplayName() local
1096 int32_t ix = localizations->indexForRuleSet(rsn.getTerminatedBuffer()); in getRuleSetDisplayName()
/third_party/node/deps/icu-small/source/i18n/
Drbnf.cpp1095 UnicodeString rsn(ruleSetName); in getRuleSetDisplayName() local
1096 int32_t ix = localizations->indexForRuleSet(rsn.getTerminatedBuffer()); in getRuleSetDisplayName()

12