Home
last modified time | relevance | path

Searched refs:RSN_SELECTOR_LEN (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/wpa/src/ap/
H A Dwpa_auth_ie.c142 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
151 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
158 pos += res * RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
163 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
182 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
189 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
194 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
200 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
206 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
212 pos += RSN_SELECTOR_LEN; in wpa_write_rsn_ie()
[all …]
H A Dhs20.c63 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()
69 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()
75 eid += RSN_SELECTOR_LEN; in hostapd_eid_osen()
H A Dwpa_auth.c2705 size_t buf_len = 2 + RSN_SELECTOR_LEN + PMKID_LEN;
2728 buf_len += 2 + RSN_SELECTOR_LEN + ETH_ALEN;
2761 kde_len = 2 + RSN_SELECTOR_LEN + PMKID_LEN;
2763 pmkid[1] = RSN_SELECTOR_LEN + PMKID_LEN;
2769 os_memcpy(&pmkid[2 + RSN_SELECTOR_LEN],
2782 os_memcpy(&pmkid[2 + RSN_SELECTOR_LEN],
2804 os_memcpy(&pmkid[2 + RSN_SELECTOR_LEN],
2821 &pmkid[2 + RSN_SELECTOR_LEN],
2825 &pmkid[2 + RSN_SELECTOR_LEN], PMKID_LEN);
2838 kde_len += 2 + RSN_SELECTOR_LEN + ETH_ALEN;
[all …]
/freebsd/contrib/wpa/src/rsn_supp/
H A Dwpa_ie.c138 if (rsn_ie_len < sizeof(*hdr) + RSN_SELECTOR_LEN + in wpa_gen_wpa_ie_rsn()
139 2 + RSN_SELECTOR_LEN + 2 + RSN_SELECTOR_LEN + 2 + in wpa_gen_wpa_ie_rsn()
158 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()
171 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()
242 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()
267 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_rsn()
286 if (wpa_ie_len < 2 + 4 + RSN_SELECTOR_LEN + in wpa_gen_wpa_ie_osen()
287 2 + RSN_SELECTOR_LEN + 2 + RSN_SELECTOR_LEN) in wpa_gen_wpa_ie_osen()
305 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_osen()
319 pos += RSN_SELECTOR_LEN; in wpa_gen_wpa_ie_osen()
[all …]
H A Dwpa_ft.c250 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
265 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
296 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
314 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
318 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
322 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
326 pos += RSN_SELECTOR_LEN; in wpa_ft_gen_req_ies()
H A Dtdls.c1131 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_tpk_m1()
1146 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_tpk_m1()
1154 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_tpk_m1()
1498 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_discovery_response()
1512 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_discovery_response()
1518 pos += RSN_SELECTOR_LEN; in wpa_tdls_send_discovery_response()
2244 pos += RSN_SELECTOR_LEN; in wpa_tdls_process_tpk_m1()
2250 pos += RSN_SELECTOR_LEN; in wpa_tdls_process_tpk_m1()
2255 pos += RSN_SELECTOR_LEN; in wpa_tdls_process_tpk_m1()
H A Dwpa.c788 *pos++ = RSN_SELECTOR_LEN + data_len; in rsn_add_kde()
790 pos += RSN_SELECTOR_LEN; in rsn_add_kde()
808 return num_links * (RSN_SELECTOR_LEN + 1 + ETH_ALEN + 2); in wpa_mlo_link_kde_len()
1010 RSN_SELECTOR_LEN + ETH_ALEN + 2; in wpa_supplicant_process_1_of_4()
1015 2 + RSN_SELECTOR_LEN + 3 + in wpa_supplicant_process_1_of_4()
1017 2 + RSN_SELECTOR_LEN + 1 + in wpa_supplicant_process_1_of_4()
1018 2 + RSN_SELECTOR_LEN + 2 + mlo_kde_len); in wpa_supplicant_process_1_of_4()
1064 *pos++ = RSN_SELECTOR_LEN + 1; in wpa_supplicant_process_1_of_4()
1066 pos += RSN_SELECTOR_LEN; in wpa_supplicant_process_1_of_4()
1079 *pos++ = RSN_SELECTOR_LEN + 2; in wpa_supplicant_process_1_of_4()
[all …]
/freebsd/contrib/wpa/src/common/
H A Dwpa_common.c1910 if (left >= RSN_SELECTOR_LEN) { in wpa_parse_wpa_ie_rsn()
1927 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
1928 left -= RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
1940 if (count == 0 || count > left / RSN_SELECTOR_LEN) { in wpa_parse_wpa_ie_rsn()
1949 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
1950 left -= RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
1968 if (count == 0 || count > left / RSN_SELECTOR_LEN) { in wpa_parse_wpa_ie_rsn()
1975 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
1976 left -= RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
2017 pos += RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn()
[all …]
H A Docv.c82 *pos++ = RSN_SELECTOR_LEN + 3; in ocv_insert_oci_kde()
84 pos += RSN_SELECTOR_LEN; in ocv_insert_oci_kde()
H A Docv.h28 #define OCV_OCI_KDE_LEN (2 + RSN_SELECTOR_LEN + OCV_OCI_LEN)
H A Dwpa_common.h54 #define RSN_SELECTOR_LEN 4 macro
342 #define KDE_HDR_LEN (1 + 1 + RSN_SELECTOR_LEN)
H A Dsae.c1747 wpabuf_put_u8(buf, 1 + RSN_SELECTOR_LEN); in sae_write_commit()
1749 RSN_SELECTOR_PUT(wpabuf_put(buf, RSN_SELECTOR_LEN), suite); in sae_write_commit()
1832 return end - pos >= 2 + 1 + RSN_SELECTOR_LEN && in sae_is_akm_suite_selector_elem()
1834 pos[1] >= 1 + RSN_SELECTOR_LEN && in sae_is_akm_suite_selector_elem()
2157 if (len < RSN_SELECTOR_LEN) in sae_parse_akm_suite_selector()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dmesh_rsn.c446 u8 context[RSN_SELECTOR_LEN + 2 * ETH_ALEN], *ptr = context; in mesh_rsn_derive_aek()
454 ptr += RSN_SELECTOR_LEN; in mesh_rsn_derive_aek()
479 u8 context[2 * WPA_NONCE_LEN + 2 * 2 + RSN_SELECTOR_LEN + 2 * ETH_ALEN]; in mesh_rsn_derive_mtk()
514 ptr += RSN_SELECTOR_LEN; in mesh_rsn_derive_mtk()