Home
last modified time | relevance | path

Searched refs:wpa_psk (Results 1 – 10 of 10) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dap_config.c286 psk->next = ssid->wpa_psk; in hostapd_config_read_wpa_psk()
287 ssid->wpa_psk = psk; in hostapd_config_read_wpa_psk()
298 ssid->wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in hostapd_derive_psk()
299 if (ssid->wpa_psk == NULL) { in hostapd_derive_psk()
310 4096, ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
312 ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
322 if (ssid->wpa_psk != NULL) { in hostapd_setup_wpa_psk()
331 ssid->wpa_psk->group = 1; in hostapd_setup_wpa_psk()
419 hostapd_config_clear_wpa_psk(&conf->ssid.wpa_psk); in hostapd_config_free_bss()
687 for (psk = conf->ssid.wpa_psk; psk != NULL; psk = psk->next) { in hostapd_get_psk()
[all …]
Dwps_hostapd.c134 p->next = ssid->wpa_psk; in hostapd_wps_new_psk_cb()
135 ssid->wpa_psk = p; in hostapd_wps_new_psk_cb()
369 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hapd_wps_reconfig_in_memory()
371 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hapd_wps_reconfig_in_memory()
372 bss->ssid.wpa_psk = in hapd_wps_reconfig_in_memory()
374 if (bss->ssid.wpa_psk && in hapd_wps_reconfig_in_memory()
376 bss->ssid.wpa_psk->psk, PMK_LEN) == 0) { in hapd_wps_reconfig_in_memory()
377 bss->ssid.wpa_psk->group = 1; in hapd_wps_reconfig_in_memory()
1093 } else if (conf->ssid.wpa_psk) { in hostapd_init_wps()
1098 conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_init_wps()
[all …]
Dap_config.h90 struct hostapd_wpa_psk *wpa_psk; member
Dhostapd.c79 if (!ssid->wpa_psk_set && ssid->wpa_psk && !ssid->wpa_psk->next && in hostapd_reload_bss()
85 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss()
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c237 bin_clear_free(bss->ssid.wpa_psk, sizeof(*bss->ssid.wpa_psk)); in wpa_supplicant_conf_ap()
238 bss->ssid.wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in wpa_supplicant_conf_ap()
239 if (bss->ssid.wpa_psk == NULL) in wpa_supplicant_conf_ap()
241 os_memcpy(bss->ssid.wpa_psk->psk, ssid->psk, PMK_LEN); in wpa_supplicant_conf_ap()
242 bss->ssid.wpa_psk->group = 1; in wpa_supplicant_conf_ap()
Dp2p_supplicant.c1616 hpsk->next = hapd->conf->ssid.wpa_psk; in wpas_p2p_add_psk_list()
1617 hapd->conf->ssid.wpa_psk = hpsk; in wpas_p2p_add_psk_list()
7327 psk = hapd->conf->ssid.wpa_psk; in wpas_p2p_remove_client_go()
7338 hapd->conf->ssid.wpa_psk = psk->next; in wpas_p2p_remove_client_go()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c2378 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2382 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2383 bss->ssid.wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in hostapd_config_fill()
2384 if (bss->ssid.wpa_psk == NULL) in hostapd_config_fill()
2386 if (hexstr2bin(pos, bss->ssid.wpa_psk->psk, PMK_LEN) || in hostapd_config_fill()
2390 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2393 bss->ssid.wpa_psk->group = 1; in hostapd_config_fill()
DREADME315 # wpa_psk or wpa_passphrase must be set and wpa_key_mgmt must include WPA-PSK.
326 # secret in hex format (64 hex digits), wpa_psk, or as an ASCII passphrase
329 #wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
Dctrl_iface.c1095 hapd->conf->ssid.wpa_psk && in hostapd_ctrl_iface_get_config()
1096 hapd->conf->ssid.wpa_psk->group) { in hostapd_ctrl_iface_get_config()
1099 hapd->conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_ctrl_iface_get_config()
DChangeLog922 containing PSKs, see hostapd.wpa_psk for an example
1002 - new hostapd.conf variables: wpa, wpa_psk, wpa_passphrase,