Lines Matching refs:unwrapped
678 u8 *unwrapped = NULL; in dpp_auth_req_rx() local
803 unwrapped = os_malloc(unwrapped_len); in dpp_auth_req_rx()
804 if (!unwrapped) in dpp_auth_req_rx()
808 2, addr, len, unwrapped) < 0) { in dpp_auth_req_rx()
813 unwrapped, unwrapped_len); in dpp_auth_req_rx()
815 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_req_rx()
820 i_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_NONCE, in dpp_auth_req_rx()
829 i_capab = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_req_rx()
839 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_req_rx()
840 unwrapped = NULL; in dpp_auth_req_rx()
929 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_req_rx()
1313 u8 *unwrapped = NULL; in dpp_auth_resp_rx_status() local
1341 unwrapped = os_malloc(unwrapped_len); in dpp_auth_resp_rx_status()
1342 if (!unwrapped) in dpp_auth_resp_rx_status()
1346 2, addr, len, unwrapped) < 0) { in dpp_auth_resp_rx_status()
1351 unwrapped, unwrapped_len); in dpp_auth_resp_rx_status()
1353 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_resp_rx_status()
1358 i_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_NONCE, in dpp_auth_resp_rx_status()
1370 r_capab = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_resp_rx_status()
1399 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx_status()
1411 u8 *unwrapped = NULL, *unwrapped2 = NULL; in dpp_auth_resp_rx() local
1590 unwrapped = os_malloc(unwrapped_len); in dpp_auth_resp_rx()
1591 if (!unwrapped) in dpp_auth_resp_rx()
1595 2, addr, len, unwrapped) < 0) { in dpp_auth_resp_rx()
1600 unwrapped, unwrapped_len); in dpp_auth_resp_rx()
1602 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_resp_rx()
1607 r_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_R_NONCE, in dpp_auth_resp_rx()
1616 i_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_NONCE, in dpp_auth_resp_rx()
1634 r_capab = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_resp_rx()
1661 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
1666 wrapped2 = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_resp_rx()
1715 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
1721 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
1737 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
1753 u8 *unwrapped = NULL; in dpp_auth_conf_rx_failure() local
1770 unwrapped = os_malloc(unwrapped_len); in dpp_auth_conf_rx_failure()
1771 if (!unwrapped) { in dpp_auth_conf_rx_failure()
1777 2, addr, len, unwrapped) < 0) { in dpp_auth_conf_rx_failure()
1782 unwrapped, unwrapped_len); in dpp_auth_conf_rx_failure()
1784 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_conf_rx_failure()
1789 r_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_R_NONCE, in dpp_auth_conf_rx_failure()
1810 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_conf_rx_failure()
1823 u8 *unwrapped = NULL; in dpp_auth_conf_rx() local
1934 unwrapped = os_malloc(unwrapped_len); in dpp_auth_conf_rx()
1935 if (!unwrapped) in dpp_auth_conf_rx()
1939 2, addr, len, unwrapped) < 0) { in dpp_auth_conf_rx()
1944 unwrapped, unwrapped_len); in dpp_auth_conf_rx()
1946 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_conf_rx()
1951 i_auth = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_AUTH_TAG, in dpp_auth_conf_rx()
1970 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_conf_rx()
1974 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_conf_rx()