Home
last modified time | relevance | path

Searched refs:WPA_PUT_LE16 (Results 1 – 25 of 64) sorted by relevance

123

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_ie.c56 WPA_PUT_LE16(hdr->version, WPA_VERSION); in wpa_gen_wpa_ie_wpa()
150 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_gen_wpa_ie_rsn()
239 WPA_PUT_LE16(pos, rsn_supp_capab(sm)); in wpa_gen_wpa_ie_rsn()
254 WPA_PUT_LE16(pos, 0); in wpa_gen_wpa_ie_rsn()
302 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
316 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
Dtdls.c563 WPA_PUT_LE16(pos, rcode); in wpa_tdls_key_mic_teardown()
1097 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_tpk_m1()
1119 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_tpk_m1()
1121 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_tpk_m1()
1135 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_tpk_m1()
1462 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_discovery_response()
1481 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_discovery_response()
1482 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_discovery_response()
1489 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_discovery_response()
2139 WPA_PUT_LE16(hdr->version, rsn_ver); in wpa_tdls_process_tpk_m1()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ie.c37 WPA_PUT_LE16(hdr->version, WPA_VERSION); in wpa_write_wpa_ie()
59 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
81 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
131 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_write_rsn_ie()
172 WPA_PUT_LE16(count, num_suites); in wpa_write_rsn_ie()
313 WPA_PUT_LE16(count, num_suites); in wpa_write_rsn_ie()
316 WPA_PUT_LE16(pos, wpa_own_rsn_capab(conf)); in wpa_write_rsn_ie()
323 WPA_PUT_LE16(pos, 1); in wpa_write_rsn_ie()
335 WPA_PUT_LE16(pos, 0); in wpa_write_rsn_ie()
372 WPA_PUT_LE16(pos, 0); in wpa_write_rsn_ie()
[all …]
Dhs20.c39 WPA_PUT_LE16(eid, hapd->conf->anqp_domain_id); in hostapd_eid_hs20_indication()
66 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
72 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
94 WPA_PUT_LE16(eid, capab); in hostapd_eid_osen()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ie.c37 WPA_PUT_LE16(hdr->version, WPA_VERSION); in wpa_write_wpa_ie()
59 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
81 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
102 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_write_rsn_ie()
143 WPA_PUT_LE16(count, num_suites); in wpa_write_rsn_ie()
279 WPA_PUT_LE16(count, num_suites); in wpa_write_rsn_ie()
304 WPA_PUT_LE16(pos, capab); in wpa_write_rsn_ie()
311 WPA_PUT_LE16(pos, 1); in wpa_write_rsn_ie()
324 WPA_PUT_LE16(pos, 0); in wpa_write_rsn_ie()
362 WPA_PUT_LE16(pos, 0); in wpa_write_rsn_ie()
[all …]
Dhs20.c39 WPA_PUT_LE16(eid, hapd->conf->anqp_domain_id); in hostapd_eid_hs20_indication()
66 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
72 WPA_PUT_LE16(eid, 1); in hostapd_eid_osen()
94 WPA_PUT_LE16(eid, capab); in hostapd_eid_osen()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp_auth.c150 WPA_PUT_LE16(pos, DPP_ATTR_I_NONCE); in dpp_auth_build_req()
152 WPA_PUT_LE16(pos, nonce_len - 1); in dpp_auth_build_req()
161 WPA_PUT_LE16(pos, DPP_ATTR_I_NONCE); in dpp_auth_build_req()
163 WPA_PUT_LE16(pos, nonce_len); in dpp_auth_build_req()
177 WPA_PUT_LE16(pos, DPP_ATTR_I_CAPABILITIES); in dpp_auth_build_req()
179 WPA_PUT_LE16(pos, 1); in dpp_auth_build_req()
313 WPA_PUT_LE16(pos, DPP_ATTR_R_NONCE); in dpp_auth_build_resp()
315 WPA_PUT_LE16(pos, nonce_len); in dpp_auth_build_resp()
323 WPA_PUT_LE16(pos, DPP_ATTR_I_NONCE); in dpp_auth_build_resp()
325 WPA_PUT_LE16(pos, nonce_len); in dpp_auth_build_resp()
[all …]
Dgas.c245 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in gas_anqp_set_len()
272 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(buf, 0) - len_pos - 2); in gas_anqp_set_element_len()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_ie.c56 WPA_PUT_LE16(hdr->version, WPA_VERSION); in wpa_gen_wpa_ie_wpa()
128 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_gen_wpa_ie_rsn()
228 WPA_PUT_LE16(pos, capab); in wpa_gen_wpa_ie_rsn()
244 WPA_PUT_LE16(pos, 0); in wpa_gen_wpa_ie_rsn()
293 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
307 WPA_PUT_LE16(pos, 1); in wpa_gen_wpa_ie_osen()
Dtdls.c559 WPA_PUT_LE16(pos, rcode); in wpa_tdls_key_mic_teardown()
1089 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_tpk_m1()
1111 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_tpk_m1()
1113 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_tpk_m1()
1127 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_tpk_m1()
1452 WPA_PUT_LE16(hdr->version, RSN_VERSION); in wpa_tdls_send_discovery_response()
1471 WPA_PUT_LE16(count_pos, count); in wpa_tdls_send_discovery_response()
1472 WPA_PUT_LE16(pos, 1); in wpa_tdls_send_discovery_response()
1479 WPA_PUT_LE16(pos, rsn_capab); in wpa_tdls_send_discovery_response()
2070 WPA_PUT_LE16(hdr->version, rsn_ver); in wpa_tdls_process_tpk_m1()
[all …]
Dwpa_ft.c189 WPA_PUT_LE16(rsnie->version, RSN_VERSION); in wpa_ft_gen_req_ies()
204 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
219 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
258 WPA_PUT_LE16(pos, capab); in wpa_ft_gen_req_ies()
262 WPA_PUT_LE16(pos, 1); in wpa_ft_gen_req_ies()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dms_funcs.c38 WPA_PUT_LE16(ucs2_buffer + j, c); in utf8_to_ucs2()
48 WPA_PUT_LE16(ucs2_buffer + j, in utf8_to_ucs2()
58 WPA_PUT_LE16(ucs2_buffer + j, in utf8_to_ucs2()
455 WPA_PUT_LE16(pos, password_len * 2); in encrypt_pw_block_with_password_hash()
Dsha256-prf.c75 WPA_PUT_LE16(length_le, buf_len_bits); in sha256_prf_bits()
79 WPA_PUT_LE16(counter_le, counter); in sha256_prf_bits()
Dsha512-prf.c75 WPA_PUT_LE16(length_le, buf_len_bits); in sha512_prf_bits()
79 WPA_PUT_LE16(counter_le, counter); in sha512_prf_bits()
Dsha384-prf.c75 WPA_PUT_LE16(length_le, buf_len_bits); in sha384_prf_bits()
79 WPA_PUT_LE16(counter_le, counter); in sha384_prf_bits()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dms_funcs.c38 WPA_PUT_LE16(ucs2_buffer + j, c); in utf8_to_ucs2()
48 WPA_PUT_LE16(ucs2_buffer + j, in utf8_to_ucs2()
58 WPA_PUT_LE16(ucs2_buffer + j, in utf8_to_ucs2()
455 WPA_PUT_LE16(pos, password_len * 2); in encrypt_pw_block_with_password_hash()
Dsha256-prf.c75 WPA_PUT_LE16(length_le, buf_len_bits); in sha256_prf_bits()
79 WPA_PUT_LE16(counter_le, counter); in sha256_prf_bits()
Dsha512-prf.c75 WPA_PUT_LE16(length_le, buf_len_bits); in sha512_prf_bits()
79 WPA_PUT_LE16(counter_le, counter); in sha512_prf_bits()
Dsha384-prf.c75 WPA_PUT_LE16(length_le, buf_len_bits); in sha384_prf_bits()
79 WPA_PUT_LE16(counter_le, counter); in sha384_prf_bits()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dp2p_supplicant_sd.c198 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_add_empty()
255 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - in wpas_sd_all_bonjour()
336 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_req_bonjour()
353 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - in wpas_sd_req_bonjour()
389 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - in wpas_sd_all_upnp()
472 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_req_upnp()
527 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_req_wfd()
661 WPA_PUT_LE16(len_pos, in wpas_sd_req_asp()
1062 WPA_PUT_LE16(len, (u8 *) wpabuf_put(tlvs, 0) - len - 2); in wfd_add_sd_req_role()
Dmesh_rsn.c483 WPA_PUT_LE16(ptr, sta->my_lid); in mesh_rsn_derive_mtk()
485 WPA_PUT_LE16(ptr, sta->peer_lid); in mesh_rsn_derive_mtk()
488 WPA_PUT_LE16(ptr, sta->peer_lid); in mesh_rsn_derive_mtk()
490 WPA_PUT_LE16(ptr, sta->my_lid); in mesh_rsn_derive_mtk()
600 WPA_PUT_LE16(pos, rsn->igtk_key_id); in mesh_rsn_protect_frame()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dp2p_supplicant_sd.c200 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_add_empty()
257 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - in wpas_sd_all_bonjour()
338 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_req_bonjour()
355 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - in wpas_sd_req_bonjour()
391 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - in wpas_sd_all_upnp()
474 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_req_upnp()
529 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_req_wfd()
663 WPA_PUT_LE16(len_pos, in wpas_sd_req_asp()
1092 WPA_PUT_LE16(len, (u8 *) wpabuf_put(tlvs, 0) - len - 2); in wfd_add_sd_req_role()
Dmesh_rsn.c484 WPA_PUT_LE16(ptr, sta->my_lid); in mesh_rsn_derive_mtk()
486 WPA_PUT_LE16(ptr, sta->peer_lid); in mesh_rsn_derive_mtk()
489 WPA_PUT_LE16(ptr, sta->peer_lid); in mesh_rsn_derive_mtk()
491 WPA_PUT_LE16(ptr, sta->my_lid); in mesh_rsn_derive_mtk()
598 WPA_PUT_LE16(pos, rsn->igtk_key_id); in mesh_rsn_protect_frame()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dgas.c245 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in gas_anqp_set_len()
272 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(buf, 0) - len_pos - 2); in gas_anqp_set_element_len()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_build.c170 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in p2p_buf_add_channel_list()
240 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2); in p2p_buf_add_device_info()
589 WPA_PUT_LE16(attr_len, (u16) *total_len); in p2p_buf_add_service_info()
627 WPA_PUT_LE16(attr_len, (u16) total_len); in p2p_buf_add_service_instance()

123