Lines Matching refs:unwrapped_len

2404 	size_t unwrapped_len = 0;  in dpp_auth_req_rx()  local
2517 unwrapped_len = wrapped_data_len - AES_BLOCK_SIZE; in dpp_auth_req_rx()
2518 unwrapped = os_malloc(unwrapped_len); 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()
2641 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_req_rx()
2855 size_t unwrapped_len = 0; in dpp_auth_resp_rx_status() local
2881 unwrapped_len = wrapped_data_len - AES_BLOCK_SIZE; in dpp_auth_resp_rx_status()
2882 unwrapped = os_malloc(unwrapped_len); 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()
2953 size_t unwrapped_len = 0, unwrapped2_len = 0; in dpp_auth_resp_rx() local
3104 unwrapped_len = wrapped_data_len - AES_BLOCK_SIZE; in dpp_auth_resp_rx()
3105 unwrapped = os_malloc(unwrapped_len); 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()
3269 size_t unwrapped_len = 0; in dpp_auth_conf_rx_failure() local
3284 unwrapped_len = wrapped_data_len - AES_BLOCK_SIZE; in dpp_auth_conf_rx_failure()
3285 unwrapped = os_malloc(unwrapped_len); 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()
3339 size_t unwrapped_len = 0; in dpp_auth_conf_rx() local
3443 unwrapped_len = wrapped_data_len - AES_BLOCK_SIZE; in dpp_auth_conf_rx()
3444 unwrapped = os_malloc(unwrapped_len); 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()
4417 size_t unwrapped_len = 0; in dpp_conf_req_rx() local
4445 unwrapped_len = wrapped_data_len - AES_BLOCK_SIZE; in dpp_conf_req_rx()
4446 unwrapped = os_malloc(unwrapped_len); 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()
5400 size_t unwrapped_len = 0; in dpp_conf_resp_rx() local
5421 unwrapped_len = wrapped_data_len - AES_BLOCK_SIZE; in dpp_conf_resp_rx()
5422 unwrapped = os_malloc(unwrapped_len); in dpp_conf_resp_rx()
5437 unwrapped, unwrapped_len); in dpp_conf_resp_rx()
5439 if (dpp_check_attrs(unwrapped, unwrapped_len) < 0) { in dpp_conf_resp_rx()
5444 e_nonce = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_resp_rx()
5472 conf_obj = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_CONFIG_OBJ, in dpp_conf_resp_rx()
5484 conf_obj = dpp_get_attr_next(conf_obj, unwrapped, unwrapped_len, in dpp_conf_resp_rx()