Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:passphrase

289 		str_clear_free(ssid->passphrase);
290 ssid->passphrase = NULL;
314 wpa_printf(MSG_ERROR, "Line %d: Invalid passphrase "
319 wpa_hexdump_ascii_key(MSG_MSGDUMP, "PSK (ASCII passphrase)",
321 if (ssid->passphrase && os_strlen(ssid->passphrase) == len &&
322 os_memcmp(ssid->passphrase, value, len) == 0)
325 str_clear_free(ssid->passphrase);
326 ssid->passphrase = dup_binstr(value, len);
327 if (ssid->passphrase == NULL)
331 wpa_printf(MSG_ERROR, "Line %d: ASCII passphrase not "
344 str_clear_free(ssid->passphrase);
345 ssid->passphrase = NULL;
368 if (ssid->passphrase)
370 (const u8 *) ssid->passphrase,
371 os_strlen(ssid->passphrase));
1922 str_clear_free(ssid->passphrase);
2427 * wpa_config_update_psk - Update WPA PSK based on passphrase and SSID
2431 * passphrase has changed for the network configuration.
2436 pbkdf2_sha1(ssid->passphrase, ssid->ssid, ssid->ssid_len, 4096,
2438 wpa_hexdump_key(MSG_MSGDUMP, "PSK (from passphrase)",