/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/ |
D | wpa_ie.c | 125 static int wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len, in wpa_gen_wpa_ie_rsn() argument 142 hdr = (struct rsn_ie_hdr *) rsn_ie; in wpa_gen_wpa_ie_rsn() 258 hdr->len = (pos - rsn_ie) - 2; in wpa_gen_wpa_ie_rsn() 260 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len); in wpa_gen_wpa_ie_rsn() 262 return pos - rsn_ie; in wpa_gen_wpa_ie_rsn()
|
D | tdls.c | 2015 if (kde.rsn_ie) { in wpa_tdls_process_tpk_m1() 2025 kde.rsn_ie == NULL) { in wpa_tdls_process_tpk_m1() 2038 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m1() 2103 os_memcpy(peer->rsnie_i, kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m1() 2129 hdr = (struct rsn_ie_hdr *) kde.rsn_ie; in wpa_tdls_process_tpk_m1() 2400 kde.rsn_ie == NULL) { in wpa_tdls_process_tpk_m2() 2406 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() 2422 os_memcmp(peer->rsnie_i, kde.rsn_ie, peer->rsnie_i_len) != 0) { in wpa_tdls_process_tpk_m2() 2428 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() 2433 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m2() [all …]
|
D | wpa.c | 1360 const u8 *rsn_ie, size_t rsn_ie_len) in wpa_report_ie_mismatch() argument 1382 if (rsn_ie) { in wpa_report_ie_mismatch() 1388 rsn_ie, rsn_ie_len); in wpa_report_ie_mismatch() 1462 if (!ie->rsn_ie) in ft_validate_rsnie() 1469 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie() 1545 if (ie->wpa_ie == NULL && ie->rsn_ie == NULL && in wpa_supplicant_validate_ie() 1550 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 1557 (ie->rsn_ie && sm->ap_rsn_ie && in wpa_supplicant_validate_ie() 1560 ie->rsn_ie, ie->rsn_ie_len))) { in wpa_supplicant_validate_ie() 1564 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
D | wpa_ie.c | 108 static int wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len, in wpa_gen_wpa_ie_rsn() argument 126 hdr = (struct rsn_ie_hdr *) rsn_ie; in wpa_gen_wpa_ie_rsn() 255 hdr->len = (pos - rsn_ie) - 2; in wpa_gen_wpa_ie_rsn() 257 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len); in wpa_gen_wpa_ie_rsn() 259 return pos - rsn_ie; in wpa_gen_wpa_ie_rsn() 513 ie->rsn_ie = pos; in wpa_supplicant_parse_ies() 516 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_parse_ies()
|
D | tdls.c | 1946 if (kde.rsn_ie) { in wpa_tdls_process_tpk_m1() 1956 kde.rsn_ie == NULL) { in wpa_tdls_process_tpk_m1() 1969 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m1() 2034 os_memcpy(peer->rsnie_i, kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m1() 2060 hdr = (struct rsn_ie_hdr *) kde.rsn_ie; in wpa_tdls_process_tpk_m1() 2329 kde.rsn_ie == NULL) { in wpa_tdls_process_tpk_m2() 2335 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() 2351 os_memcmp(peer->rsnie_i, kde.rsn_ie, peer->rsnie_i_len) != 0) { in wpa_tdls_process_tpk_m2() 2357 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() 2362 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m2() [all …]
|
D | wpa_ie.h | 17 const u8 *rsn_ie; member
|
D | wpa.c | 1154 const u8 *rsn_ie, size_t rsn_ie_len) in wpa_report_ie_mismatch() argument 1176 if (rsn_ie) { in wpa_report_ie_mismatch() 1182 rsn_ie, rsn_ie_len); in wpa_report_ie_mismatch() 1256 if (!ie->rsn_ie) in ft_validate_rsnie() 1263 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie() 1340 if (ie->wpa_ie == NULL && ie->rsn_ie == NULL && in wpa_supplicant_validate_ie() 1345 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 1352 (ie->rsn_ie && sm->ap_rsn_ie && in wpa_supplicant_validate_ie() 1355 ie->rsn_ie, ie->rsn_ie_len))) { in wpa_supplicant_validate_ie() 1359 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | wpa_auth_ie.h | 15 const u8 *rsn_ie; member
|
D | ieee802_11.h | 167 const u8 *rsn_ie, size_t rsn_ie_len, 170 const u8 *rsn_ie, size_t rsn_ie_len,
|
D | ieee802_11.c | 1535 elems.rsn_ie, elems.rsn_ie_len); in handle_auth_fils() 1536 if (!elems.rsn_ie || in handle_auth_fils() 1537 wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_fils() 1556 elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_fils() 2801 const u8 *rsn_ie, size_t rsn_ie_len, in owe_validate_request() argument 2807 if (!rsn_ie || rsn_ie_len < 2) { in owe_validate_request() 2812 rsn_ie -= 2; in owe_validate_request() 2815 res = wpa_parse_wpa_ie_rsn(rsn_ie, rsn_ie_len, &data); in owe_validate_request() 2819 wpa_hexdump(MSG_DEBUG, "RSNE", rsn_ie, rsn_ie_len); in owe_validate_request() 2841 const u8 *rsn_ie, size_t rsn_ie_len, in owe_process_rsn_ie() argument [all …]
|
D | drv_callbacks.c | 157 } else if (elems.rsn_ie) { in hostapd_notif_assoc() 158 ie = elems.rsn_ie - 2; in hostapd_notif_assoc() 1633 status = owe_validate_request(hapd, peer, elems.rsn_ie, in hostapd_notif_update_dh_ie() 1658 status = owe_process_rsn_ie(hapd, sta, elems.rsn_ie, in hostapd_notif_update_dh_ie()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | ieee802_11.h | 172 const u8 *rsn_ie, size_t rsn_ie_len, 175 const u8 *rsn_ie, size_t rsn_ie_len,
|
D | ieee802_11.c | 1876 elems.rsn_ie, elems.rsn_ie_len); in handle_auth_fils() 1877 if (!elems.rsn_ie || in handle_auth_fils() 1878 wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_fils() 1897 elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_fils() 2734 if (!elems.rsn_ie || !elems.fils_nonce || !elems.fils_nonce || in pasn_wd_handle_fils() 2740 ret = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in pasn_wd_handle_fils() 2954 const u8 *frame, *data, *rsn_ie, *rsnxe_ie; in handle_auth_pasn_resp() local 3034 rsn_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &rsn_ie_len); in handle_auth_pasn_resp() 3035 if (!rsn_ie || !rsn_ie_len) in handle_auth_pasn_resp() 3043 data_len = rsn_ie[1] + 2; in handle_auth_pasn_resp() [all …]
|
D | drv_callbacks.c | 184 } else if (elems.rsn_ie) { in hostapd_notif_assoc() 185 ie = elems.rsn_ie - 2; in hostapd_notif_assoc() 1806 status = owe_validate_request(hapd, peer, elems.rsn_ie, in hostapd_notif_update_dh_ie() 1831 status = owe_process_rsn_ie(hapd, sta, elems.rsn_ie, in hostapd_notif_update_dh_ie()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | mesh.c | 52 if (ifmsh->mconf->rsn_ie) { in wpa_supplicant_mesh_iface_deinit() 53 ifmsh->mconf->rsn_ie = NULL; in wpa_supplicant_mesh_iface_deinit() 221 params->ies = ifmsh->mconf->rsn_ie; in wpas_mesh_complete()
|
D | mesh_mpm.c | 290 wpabuf_put_data(buf, conf->rsn_ie, conf->rsn_ie_len); in mesh_mpm_send_plink_action() 1256 if (action_field == PLINK_OPEN && elems.rsn_ie) { in mesh_mpm_action_rx() 1260 res = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, in mesh_mpm_action_rx() 1267 wpa_hexdump(MSG_DEBUG, "RSN IE", elems.rsn_ie, in mesh_mpm_action_rx()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | mesh.c | 61 if (ifmsh->mconf->rsn_ie) { in wpa_supplicant_mesh_iface_deinit() 62 ifmsh->mconf->rsn_ie = NULL; in wpa_supplicant_mesh_iface_deinit() 281 params->ies = ifmsh->mconf->rsn_ie; in wpas_mesh_complete()
|
D | mesh_mpm.c | 291 wpabuf_put_data(buf, conf->rsn_ie, conf->rsn_ie_len); in mesh_mpm_send_plink_action() 1264 if (action_field == PLINK_OPEN && elems.rsn_ie) { in mesh_mpm_action_rx() 1268 res = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, in mesh_mpm_action_rx() 1275 wpa_hexdump(MSG_DEBUG, "RSN IE", elems.rsn_ie, in mesh_mpm_action_rx()
|
D | pasn_supplicant.c | 488 if (!elems.rsn_ie || !elems.fils_nonce || !elems.fils_nonce || in wpas_pasn_wd_fils_rx() 494 ret = wpa_parse_wpa_ie(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in wpas_pasn_wd_fils_rx() 1447 ret = wpa_parse_wpa_ie(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in wpas_pasn_auth_rx()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | wpa_common.c | 1191 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, in wpa_parse_wpa_ie_rsn() argument 1223 if (rsn_ie_len >= 6 && rsn_ie[1] >= 4 && in wpa_parse_wpa_ie_rsn() 1224 rsn_ie[1] == rsn_ie_len - 2 && in wpa_parse_wpa_ie_rsn() 1225 WPA_GET_BE32(&rsn_ie[2]) == OSEN_IE_VENDOR_TYPE) { in wpa_parse_wpa_ie_rsn() 1226 pos = rsn_ie + 6; in wpa_parse_wpa_ie_rsn() 1236 hdr = (const struct rsn_ie_hdr *) rsn_ie; in wpa_parse_wpa_ie_rsn()
|
D | ieee802_11_common.h | 42 const u8 *rsn_ie; member
|
D | wpa_common.h | 407 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | wpa_common.c | 1539 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, in wpa_parse_wpa_ie_rsn() argument 1567 if (rsn_ie_len >= 6 && rsn_ie[1] >= 4 && in wpa_parse_wpa_ie_rsn() 1568 rsn_ie[1] == rsn_ie_len - 2 && in wpa_parse_wpa_ie_rsn() 1569 WPA_GET_BE32(&rsn_ie[2]) == OSEN_IE_VENDOR_TYPE) { in wpa_parse_wpa_ie_rsn() 1570 pos = rsn_ie + 6; in wpa_parse_wpa_ie_rsn() 1580 hdr = (const struct rsn_ie_hdr *) rsn_ie; in wpa_parse_wpa_ie_rsn() 3170 ie->rsn_ie = pos; in wpa_parse_kde_ies() 3173 ie->rsn_ie, ie->rsn_ie_len); in wpa_parse_kde_ies()
|
D | wpa_common.h | 451 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, 560 const u8 *rsn_ie; member
|
D | ieee802_11_common.h | 58 const u8 *rsn_ie; member
|