Searched refs:new_psk_len (Results 1 – 5 of 5) sorted by relevance
1675 wps->new_psk = base64_encode(r, sizeof(r), &wps->new_psk_len); in wps_build_cred()1678 wps->new_psk_len--; /* remove newline */ in wps_build_cred()1679 while (wps->new_psk_len && in wps_build_cred()1680 wps->new_psk[wps->new_psk_len - 1] == '=') in wps_build_cred()1681 wps->new_psk_len--; in wps_build_cred()1683 wps->new_psk, wps->new_psk_len); in wps_build_cred()1684 os_memcpy(wps->cred.key, wps->new_psk, wps->new_psk_len); in wps_build_cred()1685 wps->cred.key_len = wps->new_psk_len; in wps_build_cred()1702 wps->new_psk_len = 32; in wps_build_cred()1703 wps->new_psk = os_malloc(wps->new_psk_len); in wps_build_cred()[all …]
395 os_memcpy(cred.key, data.new_psk, data.new_psk_len); in wps_get_oob_cred()396 cred.key_len = data.new_psk_len; in wps_get_oob_cred()401 data.new_psk, data.new_psk_len); in wps_get_oob_cred()
97 size_t new_psk_len; member
179 bin_clear_free(data->new_psk, data->new_psk_len); in wps_deinit()
313 (unsigned int) wps->new_psk_len * 2); in wps_build_cred_network_key()