Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dap_config.c255 psk->next = ssid->wpa_psk; in hostapd_config_read_wpa_psk()
256 ssid->wpa_psk = psk; in hostapd_config_read_wpa_psk()
267 ssid->wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in hostapd_derive_psk()
268 if (ssid->wpa_psk == NULL) { in hostapd_derive_psk()
279 4096, ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
281 ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
291 if (ssid->wpa_psk != NULL) { in hostapd_setup_wpa_psk()
300 ssid->wpa_psk->group = 1; in hostapd_setup_wpa_psk()
365 psk = conf->ssid.wpa_psk; in hostapd_config_free_bss()
568 for (psk = conf->ssid.wpa_psk; psk != NULL; psk = psk->next) { in hostapd_get_psk()
Dwps_hostapd.c107 p->next = ssid->wpa_psk; in hostapd_wps_new_psk_cb()
108 ssid->wpa_psk = p; in hostapd_wps_new_psk_cb()
890 } else if (conf->ssid.wpa_psk) { in hostapd_init_wps()
897 conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_init_wps()
910 if (conf->ssid.wpa_psk) { in hostapd_init_wps()
911 os_memcpy(wps->psk, conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_init_wps()
Dap_config.h58 struct hostapd_wpa_psk *wpa_psk; member
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c158 os_free(bss->ssid.wpa_psk); in wpa_supplicant_conf_ap()
159 bss->ssid.wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in wpa_supplicant_conf_ap()
160 if (bss->ssid.wpa_psk == NULL) in wpa_supplicant_conf_ap()
162 os_memcpy(bss->ssid.wpa_psk->psk, ssid->psk, PMK_LEN); in wpa_supplicant_conf_ap()
163 bss->ssid.wpa_psk->group = 1; in wpa_supplicant_conf_ap()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c1055 bss->ssid.wpa_psk == NULL && bss->ssid.wpa_passphrase == NULL && in hostapd_config_check_bss()
1610 os_free(bss->ssid.wpa_psk); in hostapd_config_read()
1611 bss->ssid.wpa_psk = in hostapd_config_read()
1613 if (bss->ssid.wpa_psk == NULL) in hostapd_config_read()
1615 else if (hexstr2bin(pos, bss->ssid.wpa_psk->psk, in hostapd_config_read()
1622 bss->ssid.wpa_psk->group = 1; in hostapd_config_read()
Dctrl_iface.c611 hapd->conf->ssid.wpa_psk && in hostapd_ctrl_iface_get_config()
612 hapd->conf->ssid.wpa_psk->group) { in hostapd_ctrl_iface_get_config()
615 hapd->conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_ctrl_iface_get_config()
DREADME321 # wpa_psk or wpa_passphrase must be set and wpa_key_mgmt must include WPA-PSK.
332 # secret in hex format (64 hex digits), wpa_psk, or as an ASCII passphrase
335 #wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
DChangeLog534 containing PSKs, see hostapd.wpa_psk for an example
614 - new hostapd.conf variables: wpa, wpa_psk, wpa_passphrase,