Lines Matching full:passphrase
288 os_free(ssid->passphrase);
289 ssid->passphrase = NULL;
313 wpa_printf(MSG_ERROR, "Line %d: Invalid passphrase "
318 wpa_hexdump_ascii_key(MSG_MSGDUMP, "PSK (ASCII passphrase)",
320 if (ssid->passphrase && os_strlen(ssid->passphrase) == len &&
321 os_memcmp(ssid->passphrase, value, len) == 0)
324 os_free(ssid->passphrase);
325 ssid->passphrase = dup_binstr(value, len);
326 if (ssid->passphrase == NULL)
330 wpa_printf(MSG_ERROR, "Line %d: ASCII passphrase not "
343 os_free(ssid->passphrase);
344 ssid->passphrase = NULL;
367 if (ssid->passphrase)
369 (const u8 *) ssid->passphrase,
370 os_strlen(ssid->passphrase));
1792 os_free(ssid->passphrase);
2276 * wpa_config_update_psk - Update WPA PSK based on passphrase and SSID
2280 * passphrase has changed for the network configuration.
2285 pbkdf2_sha1(ssid->passphrase, ssid->ssid, ssid->ssid_len, 4096,
2287 wpa_hexdump_key(MSG_MSGDUMP, "PSK (from passphrase)",