/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 118 if (rsn_ie_len < sizeof(*hdr) + RSN_SELECTOR_LEN + in wpa_gen_wpa_ie_rsn() 122 (unsigned long) rsn_ie_len); in wpa_gen_wpa_ie_rsn() 257 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len); in wpa_gen_wpa_ie_rsn() 514 ie->rsn_ie_len = pos[1] + 2; in wpa_supplicant_parse_ies() 516 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_parse_ies()
|
D | tdls.c | 1962 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) { 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() 2035 peer->rsnie_i_len = kde.rsn_ie_len; in wpa_tdls_process_tpk_m1() 2335 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() 2337 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) { in wpa_tdls_process_tpk_m2() 2350 if (kde.rsn_ie_len != peer->rsnie_i_len || 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() 2391 os_memcpy(peer->rsnie_p, kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() [all …]
|
D | wpa_ie.h | 18 size_t rsn_ie_len; member
|
D | wpa.c | 1154 const u8 *rsn_ie, size_t rsn_ie_len) in wpa_report_ie_mismatch() argument 1182 rsn_ie, rsn_ie_len); in wpa_report_ie_mismatch() 1263 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie() 1345 ie->rsn_ie, ie->rsn_ie_len); 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() 1370 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 3749 elems.rsn_ie_len); in fils_process_auth() 3751 wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in fils_process_auth() 4333 elems.rsn_ie - 2, elems.rsn_ie_len + 2)) { in fils_process_assoc_resp() [all …]
|
/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 134 if (rsn_ie_len < sizeof(*hdr) + RSN_SELECTOR_LEN + in wpa_gen_wpa_ie_rsn() 138 (unsigned long) rsn_ie_len); in wpa_gen_wpa_ie_rsn() 260 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len); in wpa_gen_wpa_ie_rsn()
|
D | tdls.c | 2031 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) { 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() 2104 peer->rsnie_i_len = kde.rsn_ie_len; in wpa_tdls_process_tpk_m1() 2406 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() 2408 if (kde.rsn_ie_len > TDLS_MAX_IE_LEN) { in wpa_tdls_process_tpk_m2() 2421 if (kde.rsn_ie_len != peer->rsnie_i_len || 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() 2462 os_memcpy(peer->rsnie_p, kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() [all …]
|
D | wpa.c | 1383 const u8 *rsn_ie, size_t rsn_ie_len) in wpa_report_ie_mismatch() argument 1413 rsn_ie, rsn_ie_len); in wpa_report_ie_mismatch() 1494 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie() 1575 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 1587 ie->rsn_ie, ie->rsn_ie_len))) { in wpa_supplicant_validate_ie() 1591 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 1605 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 4298 elems.rsn_ie_len); in fils_process_auth() 4300 wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in fils_process_auth() 4893 elems.rsn_ie - 2, elems.rsn_ie_len + 2)) { in fils_process_assoc_resp() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | wpa_auth_ie.h | 16 size_t rsn_ie_len; 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() 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() 2813 rsn_ie_len += 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 2849 if (!rsn_ie || rsn_ie_len < 2) { in owe_process_rsn_ie() [all …]
|
D | drv_callbacks.c | 159 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc() 1634 elems.rsn_ie_len, in hostapd_notif_update_dh_ie() 1659 elems.rsn_ie_len, elems.owe_dh, in hostapd_notif_update_dh_ie()
|
D | ap_config.h | 40 int rsn_ie_len; member
|
/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 1212 if (rsn_ie_len == 0) { in wpa_parse_wpa_ie_rsn() 1217 if (rsn_ie_len < sizeof(struct rsn_ie_hdr)) { in wpa_parse_wpa_ie_rsn() 1219 __func__, (unsigned long) rsn_ie_len); in wpa_parse_wpa_ie_rsn() 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() 1227 left = rsn_ie_len - 6; in wpa_parse_wpa_ie_rsn() 1239 hdr->len != rsn_ie_len - 2 || in wpa_parse_wpa_ie_rsn() 1247 left = rsn_ie_len - sizeof(*hdr); in wpa_parse_wpa_ie_rsn()
|
D | ieee802_11_common.h | 104 u8 rsn_ie_len; 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/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() 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() 2740 ret = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in pasn_wd_handle_fils() 2956 size_t rsn_ie_len, frame_len, data_len; 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() 3129 ret = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_pasn_1() 4320 const u8 *rsn_ie, size_t rsn_ie_len, in owe_validate_request() argument 4326 if (!rsn_ie || rsn_ie_len < 2) { in owe_validate_request() [all …]
|
D | drv_callbacks.c | 188 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc() 1820 elems.rsn_ie_len, in hostapd_notif_update_dh_ie() 1845 elems.rsn_ie_len, elems.owe_dh, in hostapd_notif_update_dh_ie()
|
/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 1556 if (rsn_ie_len == 0) { in wpa_parse_wpa_ie_rsn() 1561 if (rsn_ie_len < sizeof(struct rsn_ie_hdr)) { in wpa_parse_wpa_ie_rsn() 1563 __func__, (unsigned long) rsn_ie_len); in wpa_parse_wpa_ie_rsn() 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() 1571 left = rsn_ie_len - 6; in wpa_parse_wpa_ie_rsn() 1583 hdr->len != rsn_ie_len - 2 || in wpa_parse_wpa_ie_rsn() 1591 left = rsn_ie_len - sizeof(*hdr); in wpa_parse_wpa_ie_rsn() 3171 ie->rsn_ie_len = pos[1] + 2; in wpa_parse_kde_ies() [all …]
|
D | wpa_common.h | 453 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, 563 size_t rsn_ie_len; member
|
D | ieee802_11_common.h | 135 u8 rsn_ie_len; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | mesh_mpm.c | 259 buf_len += conf->rsn_ie_len; /* RSN IE */ in mesh_mpm_send_plink_action() 290 wpabuf_put_data(buf, conf->rsn_ie, conf->rsn_ie_len); in mesh_mpm_send_plink_action() 1261 elems.rsn_ie_len + 2, in mesh_mpm_action_rx() 1268 elems.rsn_ie_len); in mesh_mpm_action_rx()
|
D | mesh.c | 222 params->ie_len = ifmsh->mconf->rsn_ie_len; in wpas_mesh_complete()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | mesh_mpm.c | 260 buf_len += conf->rsn_ie_len; /* RSN IE */ in mesh_mpm_send_plink_action() 291 wpabuf_put_data(buf, conf->rsn_ie, conf->rsn_ie_len); in mesh_mpm_send_plink_action() 1280 elems.rsn_ie_len + 2, in mesh_mpm_action_rx() 1287 elems.rsn_ie_len); in mesh_mpm_action_rx()
|
D | pasn_supplicant.c | 499 ret = wpa_parse_wpa_ie(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in wpas_pasn_wd_fils_rx() 1452 ret = wpa_parse_wpa_ie(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in wpas_pasn_auth_rx()
|