Searched refs:new_psk_len (Results 1 – 5 of 5) sorted by relevance
1650 wps->new_psk = base64_encode(r, sizeof(r), &wps->new_psk_len); in wps_build_cred()1653 wps->new_psk_len--; /* remove newline */ in wps_build_cred()1654 while (wps->new_psk_len && in wps_build_cred()1655 wps->new_psk[wps->new_psk_len - 1] == '=') in wps_build_cred()1656 wps->new_psk_len--; in wps_build_cred()1658 wps->new_psk, wps->new_psk_len); in wps_build_cred()1659 os_memcpy(wps->cred.key, wps->new_psk, wps->new_psk_len); in wps_build_cred()1660 wps->cred.key_len = wps->new_psk_len; in wps_build_cred()1677 wps->new_psk_len = 32; in wps_build_cred()1678 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()
286 (unsigned int) wps->new_psk_len * 2); in wps_build_cred_network_key()