Lines Matching refs:unwrapped
2403 u8 *unwrapped = NULL; in dpp_auth_req_rx() local
2518 unwrapped = os_malloc(unwrapped_len); in dpp_auth_req_rx()
2519 if (!unwrapped) in dpp_auth_req_rx()
2523 2, addr, len, unwrapped) < 0) { in dpp_auth_req_rx()
2528 unwrapped, unwrapped_len); in dpp_auth_req_rx()
2530 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_req_rx()
2535 i_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_NONCE, in dpp_auth_req_rx()
2544 i_capab = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_req_rx()
2554 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_req_rx()
2555 unwrapped = NULL; in dpp_auth_req_rx()
2641 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_req_rx()
2854 u8 *unwrapped = NULL; in dpp_auth_resp_rx_status() local
2882 unwrapped = os_malloc(unwrapped_len); in dpp_auth_resp_rx_status()
2883 if (!unwrapped) in dpp_auth_resp_rx_status()
2887 2, addr, len, unwrapped) < 0) { in dpp_auth_resp_rx_status()
2892 unwrapped, unwrapped_len); in dpp_auth_resp_rx_status()
2894 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_resp_rx_status()
2899 i_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_NONCE, in dpp_auth_resp_rx_status()
2911 r_capab = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_resp_rx_status()
2940 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx_status()
2952 u8 *unwrapped = NULL, *unwrapped2 = NULL; in dpp_auth_resp_rx() local
3105 unwrapped = os_malloc(unwrapped_len); in dpp_auth_resp_rx()
3106 if (!unwrapped) in dpp_auth_resp_rx()
3110 2, addr, len, unwrapped) < 0) { in dpp_auth_resp_rx()
3115 unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3117 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_resp_rx()
3122 r_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_R_NONCE, in dpp_auth_resp_rx()
3131 i_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_NONCE, in dpp_auth_resp_rx()
3149 r_capab = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_resp_rx()
3176 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3181 wrapped2 = dpp_get_attr(unwrapped, unwrapped_len, in dpp_auth_resp_rx()
3230 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3236 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3252 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3268 u8 *unwrapped = NULL; in dpp_auth_conf_rx_failure() local
3285 unwrapped = os_malloc(unwrapped_len); in dpp_auth_conf_rx_failure()
3286 if (!unwrapped) { in dpp_auth_conf_rx_failure()
3292 2, addr, len, unwrapped) < 0) { in dpp_auth_conf_rx_failure()
3297 unwrapped, unwrapped_len); in dpp_auth_conf_rx_failure()
3299 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_conf_rx_failure()
3304 r_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_R_NONCE, in dpp_auth_conf_rx_failure()
3325 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_conf_rx_failure()
3338 u8 *unwrapped = NULL; in dpp_auth_conf_rx() local
3444 unwrapped = os_malloc(unwrapped_len); in dpp_auth_conf_rx()
3445 if (!unwrapped) in dpp_auth_conf_rx()
3449 2, addr, len, unwrapped) < 0) { in dpp_auth_conf_rx()
3454 unwrapped, unwrapped_len); in dpp_auth_conf_rx()
3456 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_auth_conf_rx()
3461 i_auth = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_AUTH_TAG, in dpp_auth_conf_rx()
3480 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_conf_rx()
3484 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_conf_rx()
4416 u8 *unwrapped = NULL; in dpp_conf_req_rx() local
4446 unwrapped = os_malloc(unwrapped_len); in dpp_conf_req_rx()
4447 if (!unwrapped) in dpp_conf_req_rx()
4451 0, NULL, NULL, unwrapped) < 0) { in dpp_conf_req_rx()
4456 unwrapped, unwrapped_len); in dpp_conf_req_rx()
4458 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_conf_req_rx()
4463 e_nonce = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_req_rx()
4474 config_attr = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_req_rx()
4553 os_free(unwrapped); in dpp_conf_req_rx()
5402 u8 *unwrapped = NULL; in dpp_conf_resp_rx() local
5425 unwrapped = os_malloc(unwrapped_len); in dpp_conf_resp_rx()
5426 if (!unwrapped) in dpp_conf_resp_rx()
5435 1, addr, len, unwrapped) < 0) { in dpp_conf_resp_rx()
5440 unwrapped, unwrapped_len); in dpp_conf_resp_rx()
5442 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_conf_resp_rx()
5447 e_nonce = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_resp_rx()
5475 conf_obj = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_CONFIG_OBJ, in dpp_conf_resp_rx()
5487 conf_obj = dpp_get_attr_next(conf_obj, unwrapped, unwrapped_len, in dpp_conf_resp_rx()
5495 os_free(unwrapped); in dpp_conf_resp_rx()