Home
last modified time | relevance | path

Searched refs:wrapped_data (Results 1 – 10 of 10) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp_auth.c68 u8 wrapped_data[4 + DPP_MAX_NONCE_LEN + 4 + 1 + AES_BLOCK_SIZE]; in dpp_auth_build_req() local
76 4 + sizeof(wrapped_data); in dpp_auth_build_req()
206 2, addr, len, wrapped_data) < 0) { in dpp_auth_build_req()
212 wrapped_data, siv_len); in dpp_auth_build_req()
216 wpabuf_put_data(msg, wrapped_data, siv_len); in dpp_auth_build_req()
248 u8 wrapped_data[DPP_AUTH_RESP_CLEAR_LEN + AES_BLOCK_SIZE]; in dpp_auth_build_resp() local
259 4 + (pr ? wpabuf_len(pr) : 0) + 4 + sizeof(wrapped_data); in dpp_auth_build_resp()
392 2, addr, len, wrapped_data) < 0) { in dpp_auth_build_resp()
398 wrapped_data, siv_len); in dpp_auth_build_resp()
402 wpabuf_put_data(msg, wrapped_data, siv_len); in dpp_auth_build_resp()
[all …]
Ddpp_reconfig.c651 const u8 *trans_id, *version, *r_connector, *r_proto, *wrapped_data, in dpp_reconfig_auth_resp_rx() local
670 wrapped_data = dpp_get_attr(attr_start, attr_len, DPP_ATTR_WRAPPED_DATA, in dpp_reconfig_auth_resp_rx()
672 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_reconfig_auth_resp_rx()
678 wrapped_data, wrapped_data_len); in dpp_reconfig_auth_resp_rx()
679 attr_len = wrapped_data - 4 - attr_start; in dpp_reconfig_auth_resp_rx()
770 wrapped_data, wrapped_data_len); in dpp_reconfig_auth_resp_rx()
776 wrapped_data, wrapped_data_len, in dpp_reconfig_auth_resp_rx()
836 const u8 *trans_id, *version, *wrapped_data, *c_nonce, *e_nonce, in dpp_reconfig_auth_conf_rx() local
850 wrapped_data = dpp_get_attr(attr_start, attr_len, DPP_ATTR_WRAPPED_DATA, in dpp_reconfig_auth_conf_rx()
852 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_reconfig_auth_conf_rx()
[all …]
Ddpp.c120 int wrapped_data = 0; in dpp_check_attrs() local
138 if (wrapped_data) { in dpp_check_attrs()
144 wrapped_data = 1; in dpp_check_attrs()
1889 const u8 *wrapped_data, *e_nonce, *config_attr; in dpp_conf_req_rx() local
1911 wrapped_data = dpp_get_attr(attr_start, attr_len, DPP_ATTR_WRAPPED_DATA, in dpp_conf_req_rx()
1913 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_conf_req_rx()
1920 wrapped_data, wrapped_data_len); in dpp_conf_req_rx()
1926 wrapped_data, wrapped_data_len, in dpp_conf_req_rx()
2859 const u8 *wrapped_data, *e_nonce, *status, *conf_obj; in dpp_conf_resp_rx() local
2876 wrapped_data = dpp_get_attr(wpabuf_head(resp), wpabuf_len(resp), in dpp_conf_resp_rx()
[all …]
Ddpp_pkex.c1017 const u8 *wrapped_data, *b_key, *peer_u; in dpp_pkex_rx_commit_reveal_req() local
1042 wrapped_data = dpp_get_attr(buf, buflen, DPP_ATTR_WRAPPED_DATA, in dpp_pkex_rx_commit_reveal_req()
1044 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_pkex_rx_commit_reveal_req()
1051 wrapped_data, wrapped_data_len); in dpp_pkex_rx_commit_reveal_req()
1066 wrapped_data, wrapped_data_len, in dpp_pkex_rx_commit_reveal_req()
1195 const u8 *wrapped_data, *b_key, *peer_v; in dpp_pkex_rx_commit_reveal_resp() local
1222 wrapped_data = dpp_get_attr(buf, buflen, DPP_ATTR_WRAPPED_DATA, in dpp_pkex_rx_commit_reveal_resp()
1224 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_pkex_rx_commit_reveal_resp()
1231 wrapped_data, wrapped_data_len); in dpp_pkex_rx_commit_reveal_resp()
1246 wrapped_data, wrapped_data_len, in dpp_pkex_rx_commit_reveal_resp()
Dieee802_11_common.h113 const u8 *wrapped_data; member
Dieee802_11_common.c261 elems->wrapped_data = pos; in ieee802_11_parse_extension()
2766 data = elems->wrapped_data; in ieee802_11_defrag()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dpasn_supplicant.c494 !elems.wrapped_data) { in wpas_pasn_wd_fils_rx()
669 u8 wrapped_data; in wpas_pasn_build_auth_1() local
690 wrapped_data = wpas_pasn_get_wrapped_data_format(pasn); in wpas_pasn_build_auth_1()
710 } else if (wrapped_data != WPA_PASN_WRAPPED_DATA_NO) { in wpas_pasn_build_auth_1()
729 wrapped_data = WPA_PASN_WRAPPED_DATA_NO; in wpas_pasn_build_auth_1()
731 wpa_pasn_add_parameter_ie(buf, pasn->group, wrapped_data, in wpas_pasn_build_auth_1()
781 u8 wrapped_data; in wpas_pasn_build_auth_3() local
793 wrapped_data = wpas_pasn_get_wrapped_data_format(pasn); in wpas_pasn_build_auth_3()
802 wrapped_data = WPA_PASN_WRAPPED_DATA_NO; in wpas_pasn_build_auth_3()
804 wpa_pasn_add_parameter_ie(buf, pasn->group, wrapped_data, in wpas_pasn_build_auth_3()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddpp.c748 int wrapped_data = 0; in dpp_check_attrs() local
766 if (wrapped_data) { in dpp_check_attrs()
772 wrapped_data = 1; in dpp_check_attrs()
1678 u8 wrapped_data[4 + DPP_MAX_NONCE_LEN + 4 + 1 + AES_BLOCK_SIZE]; in dpp_auth_build_req() local
1686 4 + sizeof(wrapped_data); in dpp_auth_build_req()
1814 2, addr, len, wrapped_data) < 0) { in dpp_auth_build_req()
1820 wrapped_data, siv_len); in dpp_auth_build_req()
1824 wpabuf_put_data(msg, wrapped_data, siv_len); in dpp_auth_build_req()
1856 u8 wrapped_data[DPP_AUTH_RESP_CLEAR_LEN + AES_BLOCK_SIZE]; in dpp_auth_build_resp() local
1866 4 + (pr ? wpabuf_len(pr) : 0) + 4 + sizeof(wrapped_data); in dpp_auth_build_resp()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dieee802_11.c1959 if (elems.wrapped_data) { in handle_auth_fils()
1961 elems.wrapped_data, in handle_auth_fils()
1972 hapd, sta, elems.wrapped_data, in handle_auth_fils()
1982 elems.wrapped_data, in handle_auth_fils()
2735 !elems.wrapped_data) { in pasn_wd_handle_fils()
2840 struct wpabuf *wrapped_data, in pasn_derive_keys() argument
3108 struct wpabuf *wrapped_data = NULL, *secret = NULL; in handle_auth_pasn_1() local
3248 wrapped_data = ieee802_11_defrag(&elems, in handle_auth_pasn_1()
3251 if (!wrapped_data) { in handle_auth_pasn_1()
3260 wrapped_data); in handle_auth_pasn_1()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa.c4407 if (!sm->cur_pmksa && elems.wrapped_data) { in fils_process_auth()
4412 elems.wrapped_data, in fils_process_auth()
4414 eapol_sm_process_erp_finish(sm->eapol, elems.wrapped_data, in fils_process_auth()