Lines Matching refs:wrapped_data

607 	int wrapped_data = 0;  in dpp_check_attrs()  local
625 if (wrapped_data) { in dpp_check_attrs()
631 wrapped_data = 1; in dpp_check_attrs()
1536 u8 wrapped_data[4 + DPP_MAX_NONCE_LEN + 4 + 1 + AES_BLOCK_SIZE]; in dpp_auth_build_req() local
1544 4 + sizeof(wrapped_data); in dpp_auth_build_req()
1672 2, addr, len, wrapped_data) < 0) { in dpp_auth_build_req()
1678 wrapped_data, siv_len); in dpp_auth_build_req()
1682 wpabuf_put_data(msg, wrapped_data, siv_len); in dpp_auth_build_req()
1714 u8 wrapped_data[DPP_AUTH_RESP_CLEAR_LEN + AES_BLOCK_SIZE]; in dpp_auth_build_resp() local
1724 4 + (pr ? wpabuf_len(pr) : 0) + 4 + sizeof(wrapped_data); in dpp_auth_build_resp()
1855 2, addr, len, wrapped_data) < 0) { in dpp_auth_build_resp()
1861 wrapped_data, siv_len); in dpp_auth_build_resp()
1865 wpabuf_put_data(msg, wrapped_data, siv_len); in dpp_auth_build_resp()
2967 const u8 *wrapped_data, *i_proto, *i_nonce, *i_capab, *i_bootstrap, in dpp_auth_req_rx() local
2985 wrapped_data = dpp_get_attr(attr_start, attr_len, DPP_ATTR_WRAPPED_DATA, in dpp_auth_req_rx()
2987 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_auth_req_rx()
2993 wrapped_data, wrapped_data_len); in dpp_auth_req_rx()
2994 attr_len = wrapped_data - 4 - attr_start; in dpp_auth_req_rx()
3099 wrapped_data, wrapped_data_len); in dpp_auth_req_rx()
3105 wrapped_data, wrapped_data_len, in dpp_auth_req_rx()
3436 const u8 *wrapped_data, u16 wrapped_data_len, in dpp_auth_resp_rx_status() argument
3467 wrapped_data, wrapped_data_len); in dpp_auth_resp_rx_status()
3473 wrapped_data, wrapped_data_len, in dpp_auth_resp_rx_status()
3542 const u8 *r_bootstrap, *i_bootstrap, *wrapped_data, *status, *r_proto, in dpp_auth_resp_rx() local
3569 wrapped_data = dpp_get_attr(attr_start, attr_len, DPP_ATTR_WRAPPED_DATA, in dpp_auth_resp_rx()
3571 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_auth_resp_rx()
3577 wrapped_data, wrapped_data_len); in dpp_auth_resp_rx()
3579 attr_len = wrapped_data - 4 - attr_start; in dpp_auth_resp_rx()
3654 attr_len, wrapped_data, in dpp_auth_resp_rx()
3719 wrapped_data, wrapped_data_len); in dpp_auth_resp_rx()
3725 wrapped_data, wrapped_data_len, in dpp_auth_resp_rx()
3879 const u8 *wrapped_data, in dpp_auth_conf_rx_failure() argument
3900 wrapped_data, wrapped_data_len); in dpp_auth_conf_rx_failure()
3908 wrapped_data, wrapped_data_len, in dpp_auth_conf_rx_failure()
3950 const u8 *r_bootstrap, *i_bootstrap, *wrapped_data, *status, *i_auth; in dpp_auth_conf_rx() local
3974 wrapped_data = dpp_get_attr(attr_start, attr_len, DPP_ATTR_WRAPPED_DATA, in dpp_auth_conf_rx()
3976 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_auth_conf_rx()
3982 wrapped_data, wrapped_data_len); in dpp_auth_conf_rx()
3984 attr_len = wrapped_data - 4 - attr_start; in dpp_auth_conf_rx()
4044 attr_len, wrapped_data, in dpp_auth_conf_rx()
4059 wrapped_data, wrapped_data_len); in dpp_auth_conf_rx()
4065 wrapped_data, wrapped_data_len, in dpp_auth_conf_rx()
4884 const u8 *wrapped_data, *e_nonce, *config_attr; in dpp_conf_req_rx() local
4905 wrapped_data = dpp_get_attr(attr_start, attr_len, DPP_ATTR_WRAPPED_DATA, in dpp_conf_req_rx()
4907 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_conf_req_rx()
4914 wrapped_data, wrapped_data_len); in dpp_conf_req_rx()
4920 wrapped_data, wrapped_data_len, in dpp_conf_req_rx()
5821 const u8 *wrapped_data, *e_nonce, *status, *conf_obj; in dpp_conf_resp_rx() local
5836 wrapped_data = dpp_get_attr(wpabuf_head(resp), wpabuf_len(resp), in dpp_conf_resp_rx()
5839 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_conf_resp_rx()
5846 wrapped_data, wrapped_data_len); in dpp_conf_resp_rx()
5853 len[0] = wrapped_data - 4 - (const u8 *) wpabuf_head(resp); in dpp_conf_resp_rx()
5857 wrapped_data, wrapped_data_len, in dpp_conf_resp_rx()
5923 const u8 *wrapped_data, *status, *e_nonce; in dpp_conf_result_rx() local
5931 wrapped_data = dpp_get_attr(attr_start, attr_len, DPP_ATTR_WRAPPED_DATA, in dpp_conf_result_rx()
5933 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_conf_result_rx()
5939 wrapped_data, wrapped_data_len); in dpp_conf_result_rx()
5941 attr_len = wrapped_data - 4 - attr_start; in dpp_conf_result_rx()
5950 wrapped_data, wrapped_data_len); in dpp_conf_result_rx()
5956 wrapped_data, wrapped_data_len, in dpp_conf_result_rx()
7847 const u8 *wrapped_data, *b_key, *peer_u; in dpp_pkex_rx_commit_reveal_req() local
7871 wrapped_data = dpp_get_attr(buf, buflen, DPP_ATTR_WRAPPED_DATA, in dpp_pkex_rx_commit_reveal_req()
7873 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_pkex_rx_commit_reveal_req()
7880 wrapped_data, wrapped_data_len); in dpp_pkex_rx_commit_reveal_req()
7895 wrapped_data, wrapped_data_len, in dpp_pkex_rx_commit_reveal_req()
8030 const u8 *wrapped_data, *b_key, *peer_v; in dpp_pkex_rx_commit_reveal_resp() local
8057 wrapped_data = dpp_get_attr(buf, buflen, DPP_ATTR_WRAPPED_DATA, in dpp_pkex_rx_commit_reveal_resp()
8059 if (!wrapped_data || wrapped_data_len < AES_BLOCK_SIZE) { in dpp_pkex_rx_commit_reveal_resp()
8066 wrapped_data, wrapped_data_len); in dpp_pkex_rx_commit_reveal_resp()
8081 wrapped_data, wrapped_data_len, in dpp_pkex_rx_commit_reveal_resp()