Home
last modified time | relevance | path

Searched refs:rsn (Results 1 - 25 of 31) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A 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 in __mesh_rsn_auth_init()
217 mesh_rsn_deinit(struct mesh_rsn *rsn) mesh_rsn_deinit() argument
416 mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid) mesh_rsn_get_pmkid() argument
423 mesh_rsn_derive_aek(struct mesh_rsn *rsn, struct sta_info *sta) mesh_rsn_derive_aek() argument
534 mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta, const u8 *cat, struct wpabuf *buf) mesh_rsn_protect_frame() argument
[all...]
H A 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,
H A 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, in sme_send_authentication()
[all...]
H A 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dmesh_rsn.c149 static int __mesh_rsn_auth_init(struct mesh_rsn *rsn, const u8 *addr, in __mesh_rsn_auth_init() argument
166 conf.wpa_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init()
167 conf.rsn_pairwise = rsn->pairwise_cipher; in __mesh_rsn_auth_init()
168 conf.wpa_group = rsn->group_cipher; in __mesh_rsn_auth_init()
175 conf.group_mgmt_cipher = rsn->mgmt_group_cipher; in __mesh_rsn_auth_init()
180 rsn->auth = wpa_init(addr, &conf, &cb, rsn); in __mesh_rsn_auth_init()
181 if (rsn->auth == NULL) { in __mesh_rsn_auth_init()
187 rsn->mgtk_len = wpa_cipher_key_len(conf.wpa_group); in __mesh_rsn_auth_init()
188 if (random_get_bytes(rsn in __mesh_rsn_auth_init()
228 mesh_rsn_deinit(struct mesh_rsn *rsn) mesh_rsn_deinit() argument
428 mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid) mesh_rsn_get_pmkid() argument
435 mesh_rsn_derive_aek(struct mesh_rsn *rsn, struct sta_info *sta) mesh_rsn_derive_aek() argument
546 mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta, const u8 *cat, struct wpabuf *buf) mesh_rsn_protect_frame() argument
[all...]
H A 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,
H A Dsme.c653 const u8 *rsn; local
656 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN);
657 if (!rsn) {
661 } else if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 &&
666 } else if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 &&
843 const u8 *rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); local
845 if (rsn && wpa_parse_wpa_ie(rsn,
[all...]
H A 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/src/rsn_supp/
H A Dpreauth.h22 const u8 *ssid, const u8 *rsn);
56 const u8 *ssid, const u8 *rsn) in rsn_preauth_scan_result()
55 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) rsn_preauth_scan_result() argument
H A 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 in wpa_sm_get_status()
3121 struct wpa_ie_data rsn; wpa_sm_pmf_enabled() local
3136 struct wpa_ie_data rsn; wpa_sm_ocv_enabled() local
3677 struct wpa_ie_data rsn; fils_process_auth() local
4388 struct wpa_ie_data rsn; fils_process_assoc_resp() local
[all...]
H A Dpreauth.c471 const u8 *ssid, const u8 *rsn) in rsn_preauth_scan_result()
483 if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ie)) in rsn_preauth_scan_result()
470 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) rsn_preauth_scan_result() argument
H A Dwpa_ft.c983 parse.rsn - 2, parse.rsn_len + 2, in wpa_ft_validate_reassoc_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
H A Dpreauth.h22 const u8 *ssid, const u8 *rsn);
56 const u8 *ssid, const u8 *rsn) in rsn_preauth_scan_result()
55 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) rsn_preauth_scan_result() argument
H A Dpreauth.c494 const u8 *ssid, const u8 *rsn) in rsn_preauth_scan_result()
506 if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ie)) in rsn_preauth_scan_result()
493 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) rsn_preauth_scan_result() argument
H A Dwpa.c1957 struct wpa_ie_data rsn;
1966 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 ||
1967 rsn.num_pmkid != 1 || rsn.pmkid == NULL) {
1973 if (os_memcmp_const(rsn.pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN) != 0)
1979 rsn.pmkid, WPA_PMK_NAME_LEN);
4633 struct wpa_ie_data rsn;
4634 if (wpa_parse_wpa_ie_rsn(sm->ap_rsn_ie, sm->ap_rsn_ie_len, &rsn)
4636 rsn.capabilities & (WPA_CAPABILITY_MFPR |
4640 (rsn
[all...]
H A Dwpa_ft.c1143 parse.rsn - 2, parse.rsn_len + 2,
1180 parse.rsn - 2, parse.rsn_len + 2)) {
1187 parse.rsn ? parse.rsn - 2 : NULL,
1188 parse.rsn ? parse.rsn_len + 2 : 0);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dwpa_common.h454 const u8 *rsn; member
H A 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/
H A 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/ap/
H A Dieee802_11.c1796 struct wpa_ie_data rsn; in handle_auth_fils() local
1892 &rsn) < 0) { in handle_auth_fils()
1928 if (rsn.pmkid && rsn.num_pmkid > 0) { in handle_auth_fils()
1933 rsn.pmkid, rsn.num_pmkid * PMKID_LEN); in handle_auth_fils()
1935 pmkid = rsn.pmkid; in handle_auth_fils()
1936 num = rsn.num_pmkid; in handle_auth_fils()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dwpa_common.h553 const u8 *rsn; member
H A Dwpa_common.c1092 parse->rsn = pos; in wpa_ft_parse_ies()
1094 ret = wpa_parse_wpa_ie_rsn(parse->rsn - 2, in wpa_ft_parse_ies()
1196 if (parse->rsn) in wpa_ft_parse_ies()
/third_party/icu/icu4c/source/i18n/
H A Drbnf.cpp1095 UnicodeString rsn(ruleSetName); in getRuleSetDisplayName()
1096 int32_t ix = localizations->indexForRuleSet(rsn.getTerminatedBuffer()); in getRuleSetDisplayName()
/third_party/node/deps/icu-small/source/i18n/
H A Drbnf.cpp1095 UnicodeString rsn(ruleSetName); in getRuleSetDisplayName()
1096 int32_t ix = localizations->indexForRuleSet(rsn.getTerminatedBuffer()); in getRuleSetDisplayName()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Drbnf.cpp1095 UnicodeString rsn(ruleSetName); in getRuleSetDisplayName()
1096 int32_t ix = localizations->indexForRuleSet(rsn.getTerminatedBuffer()); in getRuleSetDisplayName()

Completed in 56 milliseconds

12