Searched refs:new_psk_len (Results 1 – 5 of 5) sorted by relevance
1663 wps->new_psk = base64_encode(r, sizeof(r), &wps->new_psk_len); in wps_build_cred()1666 wps->new_psk_len--; /* remove newline */ in wps_build_cred()1667 while (wps->new_psk_len && in wps_build_cred()1668 wps->new_psk[wps->new_psk_len - 1] == '=') in wps_build_cred()1669 wps->new_psk_len--; in wps_build_cred()1671 wps->new_psk, wps->new_psk_len); in wps_build_cred()1672 os_memcpy(wps->cred.key, wps->new_psk, wps->new_psk_len); in wps_build_cred()1673 wps->cred.key_len = wps->new_psk_len; in wps_build_cred()1690 wps->new_psk_len = 32; in wps_build_cred()1691 wps->new_psk = os_malloc(wps->new_psk_len); in wps_build_cred()[all …]
394 os_memcpy(cred.key, data.new_psk, data.new_psk_len); in wps_get_oob_cred()395 cred.key_len = data.new_psk_len; in wps_get_oob_cred()400 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()
312 (unsigned int) wps->new_psk_len * 2); in wps_build_cred_network_key()