Searched refs:new_psk_len (Results 1 – 5 of 5) sorted by relevance
1674 wps->new_psk = base64_encode(r, sizeof(r), &wps->new_psk_len); in wps_build_cred()1677 wps->new_psk_len--; /* remove newline */ in wps_build_cred()1678 while (wps->new_psk_len && in wps_build_cred()1679 wps->new_psk[wps->new_psk_len - 1] == '=') in wps_build_cred()1680 wps->new_psk_len--; in wps_build_cred()1682 wps->new_psk, wps->new_psk_len); in wps_build_cred()1683 os_memcpy(wps->cred.key, wps->new_psk, wps->new_psk_len); in wps_build_cred()1684 wps->cred.key_len = wps->new_psk_len; in wps_build_cred()1701 wps->new_psk_len = 32; in wps_build_cred()1702 wps->new_psk = os_malloc(wps->new_psk_len); in wps_build_cred()[all …]
392 os_memcpy(cred.key, data.new_psk, data.new_psk_len); in wps_get_oob_cred()393 cred.key_len = data.new_psk_len; in wps_get_oob_cred()398 data.new_psk, data.new_psk_len); in wps_get_oob_cred()
97 size_t new_psk_len; member
183 bin_clear_free(data->new_psk, data->new_psk_len); in wps_deinit()
312 (unsigned int) wps->new_psk_len * 2); in wps_build_cred_network_key()