/hostap-3.6.0/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 | 1360 const u8 *rsn_ie, size_t rsn_ie_len) in wpa_report_ie_mismatch() argument 1388 rsn_ie, rsn_ie_len); in wpa_report_ie_mismatch() 1469 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie() 1550 ie->rsn_ie, ie->rsn_ie_len); 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() 1575 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 4241 elems.rsn_ie_len); in fils_process_auth() 4243 wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in fils_process_auth() 4836 elems.rsn_ie - 2, elems.rsn_ie_len + 2)) { in fils_process_assoc_resp() [all …]
|
/hostap-3.6.0/wlantest/ |
D | bss.c | 196 elems->rsn_ie_len + 2) != 0) { in bss_update() 200 elems->rsn_ie_len + 2); in bss_update() 204 elems->rsn_ie_len + 2); in bss_update()
|
D | rx_eapol.c | 231 elems->rsn_ie_len = ie->rsn_ie_len - 2; in elems_from_eapol_ie() 334 ie.rsn_ie, ie.rsn_ie_len); in rx_data_eapol_key_2_of_4() 335 if (os_memcmp(ie.rsn_ie, sta->rsnie, ie.rsn_ie_len) != 0) { in rx_data_eapol_key_2_of_4() 341 ie.rsn_ie, ie.rsn_ie_len); in rx_data_eapol_key_2_of_4() 460 ie.rsn_ie, ie.rsn_ie_len); in learn_kde_keys() 785 ie.rsn_ie, ie.rsn_ie_len, in rx_data_eapol_key_3_of_4() 792 ie.rsn_ie, ie.rsn_ie_len); in rx_data_eapol_key_3_of_4() 799 (wpa_parse_wpa_ie_rsn(ie.rsn_ie, ie.rsn_ie_len, &rsn) < 0 || in rx_data_eapol_key_3_of_4()
|
D | sta.c | 104 elems->rsn_ie_len + 2); in sta_update_assoc() 106 elems->rsn_ie_len + 2); in sta_update_assoc()
|
D | rx_tdls.c | 149 len = 2 * ETH_ALEN + 1 + 2 + 18 + 2 + elems->rsn_ie_len + in tdls_verify_mic() 169 os_memcpy(pos, elems->rsn_ie - 2, 2 + elems->rsn_ie_len); in tdls_verify_mic() 170 pos += 2 + elems->rsn_ie_len; in tdls_verify_mic()
|
D | rx_mgmt.c | 209 elems.rsn_ie_len + 2, &data) < 0) { in process_fils_auth()
|
/hostap-3.6.0/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 | 1886 elems.rsn_ie, elems.rsn_ie_len); in handle_auth_fils() 1888 wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_fils() 1907 elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_fils() 2750 ret = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in pasn_wd_handle_fils() 2966 size_t rsn_ie_len, frame_len, data_len; in handle_auth_pasn_resp() local 3044 rsn_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &rsn_ie_len); in handle_auth_pasn_resp() 3045 if (!rsn_ie || !rsn_ie_len) in handle_auth_pasn_resp() 3139 ret = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, in handle_auth_pasn_1() 4328 const u8 *rsn_ie, size_t rsn_ie_len, in owe_validate_request() argument 4334 if (!rsn_ie || rsn_ie_len < 2) { in owe_validate_request() [all …]
|
D | drv_callbacks.c | 186 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc() 1809 elems.rsn_ie_len, in hostapd_notif_update_dh_ie() 1834 elems.rsn_ie_len, elems.owe_dh, in hostapd_notif_update_dh_ie()
|
D | ap_config.h | 40 int rsn_ie_len; member
|
D | wpa_auth.c | 860 if (wpa_parse_wpa_ie_rsn(kde->rsn_ie, kde->rsn_ie_len, &ie) < 0 || in ft_check_msg_2_of_4() 3048 eapol_key_ie_len = kde.rsn_ie_len; in SM_STATE()
|
/hostap-3.6.0/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 | 451 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, 561 size_t rsn_ie_len; member
|
D | ieee802_11_common.h | 126 u8 rsn_ie_len; member
|
D | ieee802_11_common.c | 425 elems->rsn_ie_len = elen; in ieee802_11_parse_elems()
|
/hostap-3.6.0/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() 1269 elems.rsn_ie_len + 2, in mesh_mpm_action_rx() 1276 elems.rsn_ie_len); in mesh_mpm_action_rx()
|
D | pasn_supplicant.c | 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()
|
D | mesh_rsn.c | 274 conf->rsn_ie_len = ie_len; in mesh_rsn_auth_init()
|
D | mesh.c | 282 params->ie_len = ifmsh->mconf->rsn_ie_len; in wpas_mesh_complete()
|
D | events.c | 1481 u8 wpa_ie_len, rsn_ie_len; in wpa_scan_res_match() local 1493 rsn_ie_len = ie ? ie[1] : 0; in wpa_scan_res_match() 1503 wpa_ie_len, rsn_ie_len, bss->caps, bss->level, in wpa_scan_res_match()
|
D | sme.c | 2097 elems.rsn_ie_len + 2); in sme_associate()
|