Lines Matching refs:unwrapped
3083 u8 *unwrapped = NULL; in dpp_auth_req_rx() local
3206 unwrapped = os_malloc(unwrapped_len); in dpp_auth_req_rx()
3207 if (!unwrapped) in dpp_auth_req_rx()
3211 2, addr, len, unwrapped) < 0) { in dpp_auth_req_rx()
3216 unwrapped, unwrapped_len); in dpp_auth_req_rx()
3218 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_req_rx()
3223 i_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_NONCE, in dpp_auth_req_rx()
3232 i_capab = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_req_rx()
3242 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_req_rx()
3243 unwrapped = NULL; in dpp_auth_req_rx()
3332 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_req_rx()
3546 u8 *unwrapped = NULL; in dpp_auth_resp_rx_status() local
3574 unwrapped = os_malloc(unwrapped_len); in dpp_auth_resp_rx_status()
3575 if (!unwrapped) in dpp_auth_resp_rx_status()
3579 2, addr, len, unwrapped) < 0) { in dpp_auth_resp_rx_status()
3584 unwrapped, unwrapped_len); in dpp_auth_resp_rx_status()
3586 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_resp_rx_status()
3591 i_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_NONCE, in dpp_auth_resp_rx_status()
3603 r_capab = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_resp_rx_status()
3632 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx_status()
3644 u8 *unwrapped = NULL, *unwrapped2 = NULL; in dpp_auth_resp_rx() local
3815 unwrapped = os_malloc(unwrapped_len); in dpp_auth_resp_rx()
3816 if (!unwrapped) in dpp_auth_resp_rx()
3820 2, addr, len, unwrapped) < 0) { in dpp_auth_resp_rx()
3825 unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3827 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_resp_rx()
3832 r_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_R_NONCE, in dpp_auth_resp_rx()
3841 i_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_NONCE, in dpp_auth_resp_rx()
3859 r_capab = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_resp_rx()
3886 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3891 wrapped2 = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_resp_rx()
3940 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3946 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3962 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3978 u8 *unwrapped = NULL; in dpp_auth_conf_rx_failure() local
3995 unwrapped = os_malloc(unwrapped_len); in dpp_auth_conf_rx_failure()
3996 if (!unwrapped) { in dpp_auth_conf_rx_failure()
4002 2, addr, len, unwrapped) < 0) { in dpp_auth_conf_rx_failure()
4007 unwrapped, unwrapped_len); in dpp_auth_conf_rx_failure()
4009 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_conf_rx_failure()
4014 r_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_R_NONCE, in dpp_auth_conf_rx_failure()
4035 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_conf_rx_failure()
4048 u8 *unwrapped = NULL; in dpp_auth_conf_rx() local
4154 unwrapped = os_malloc(unwrapped_len); in dpp_auth_conf_rx()
4155 if (!unwrapped) in dpp_auth_conf_rx()
4159 2, addr, len, unwrapped) < 0) { in dpp_auth_conf_rx()
4164 unwrapped, unwrapped_len); in dpp_auth_conf_rx()
4166 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_conf_rx()
4171 i_auth = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_AUTH_TAG, in dpp_auth_conf_rx()
4190 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_conf_rx()
4194 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_conf_rx()
4979 u8 *unwrapped = NULL; in dpp_conf_req_rx() local
5009 unwrapped = os_malloc(unwrapped_len); in dpp_conf_req_rx()
5010 if (!unwrapped) in dpp_conf_req_rx()
5014 0, NULL, NULL, unwrapped) < 0) { in dpp_conf_req_rx()
5019 unwrapped, unwrapped_len); in dpp_conf_req_rx()
5021 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_conf_req_rx()
5026 e_nonce = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_req_rx()
5037 config_attr = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_req_rx()
5095 os_free(unwrapped); in dpp_conf_req_rx()
5919 u8 *unwrapped = NULL; in dpp_conf_resp_rx() local
5942 unwrapped = os_malloc(unwrapped_len); in dpp_conf_resp_rx()
5943 if (!unwrapped) in dpp_conf_resp_rx()
5952 1, addr, len, unwrapped) < 0) { in dpp_conf_resp_rx()
5957 unwrapped, unwrapped_len); in dpp_conf_resp_rx()
5959 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_conf_resp_rx()
5964 e_nonce = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_resp_rx()
5992 conf_obj = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_resp_rx()
6007 os_free(unwrapped); in dpp_conf_resp_rx()
6021 u8 *unwrapped = NULL; in dpp_conf_result_rx() local
6046 unwrapped = os_malloc(unwrapped_len); in dpp_conf_result_rx()
6047 if (!unwrapped) in dpp_conf_result_rx()
6051 2, addr, len, unwrapped) < 0) { in dpp_conf_result_rx()
6056 unwrapped, unwrapped_len); in dpp_conf_result_rx()
6058 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_conf_result_rx()
6063 e_nonce = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_result_rx()
6079 status = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_STATUS, in dpp_conf_result_rx()
6090 bin_clear_free(unwrapped, unwrapped_len); in dpp_conf_result_rx()
7909 u8 *unwrapped = NULL; in dpp_pkex_rx_commit_reveal_req() local
7939 unwrapped = os_malloc(unwrapped_len); in dpp_pkex_rx_commit_reveal_req()
7940 if (!unwrapped) in dpp_pkex_rx_commit_reveal_req()
7953 2, addr, len, unwrapped) < 0) { in dpp_pkex_rx_commit_reveal_req()
7961 unwrapped, unwrapped_len); in dpp_pkex_rx_commit_reveal_req()
7963 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_pkex_rx_commit_reveal_req()
7968 b_key = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_BOOTSTRAP_KEY, in dpp_pkex_rx_commit_reveal_req()
8007 peer_u = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_AUTH_TAG, in dpp_pkex_rx_commit_reveal_req()
8048 os_free(unwrapped); in dpp_pkex_rx_commit_reveal_req()
8070 u8 *unwrapped = NULL; in dpp_pkex_rx_commit_reveal_resp() local
8102 unwrapped = os_malloc(unwrapped_len); in dpp_pkex_rx_commit_reveal_resp()
8103 if (!unwrapped) in dpp_pkex_rx_commit_reveal_resp()
8116 2, addr, len, unwrapped) < 0) { in dpp_pkex_rx_commit_reveal_resp()
8123 unwrapped, unwrapped_len); in dpp_pkex_rx_commit_reveal_resp()
8125 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_pkex_rx_commit_reveal_resp()
8130 b_key = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_BOOTSTRAP_KEY, in dpp_pkex_rx_commit_reveal_resp()
8169 peer_v = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_R_AUTH_TAG, in dpp_pkex_rx_commit_reveal_resp()
8187 os_free(unwrapped); in dpp_pkex_rx_commit_reveal_resp()