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.c284 psk->next = ssid->wpa_psk; in hostapd_config_read_wpa_psk()
285 ssid->wpa_psk = psk; in hostapd_config_read_wpa_psk()
296 ssid->wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in hostapd_derive_psk()
297 if (ssid->wpa_psk == NULL) { in hostapd_derive_psk()
308 4096, ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
310 ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
320 if (ssid->wpa_psk != NULL) { in hostapd_setup_wpa_psk()
329 ssid->wpa_psk->group = 1; in hostapd_setup_wpa_psk()
430 hostapd_config_clear_wpa_psk(&conf->ssid.wpa_psk); in hostapd_config_free_bss()
722 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()
1109 } else if (conf->ssid.wpa_psk) { in hostapd_init_wps()
1114 conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_init_wps()
[all …]
Dap_config.h93 struct hostapd_wpa_psk *wpa_psk; member
Dhostapd.c81 if (!ssid->wpa_psk_set && ssid->wpa_psk && !ssid->wpa_psk->next && in hostapd_reload_bss()
87 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss()
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c293 bin_clear_free(bss->ssid.wpa_psk, sizeof(*bss->ssid.wpa_psk)); in wpa_supplicant_conf_ap()
294 bss->ssid.wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in wpa_supplicant_conf_ap()
295 if (bss->ssid.wpa_psk == NULL) in wpa_supplicant_conf_ap()
297 os_memcpy(bss->ssid.wpa_psk->psk, ssid->psk, PMK_LEN); in wpa_supplicant_conf_ap()
298 bss->ssid.wpa_psk->group = 1; in wpa_supplicant_conf_ap()
Dp2p_supplicant.c1698 hpsk->next = hapd->conf->ssid.wpa_psk; in wpas_p2p_add_psk_list()
1699 hapd->conf->ssid.wpa_psk = hpsk; in wpas_p2p_add_psk_list()
8012 psk = hapd->conf->ssid.wpa_psk; in wpas_p2p_remove_client_go()
8023 hapd->conf->ssid.wpa_psk = psk->next; in wpas_p2p_remove_client_go()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c2450 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2454 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2455 bss->ssid.wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in hostapd_config_fill()
2456 if (bss->ssid.wpa_psk == NULL) in hostapd_config_fill()
2458 if (hexstr2bin(pos, bss->ssid.wpa_psk->psk, PMK_LEN) || in hostapd_config_fill()
2462 hostapd_config_clear_wpa_psk(&bss->ssid.wpa_psk); in hostapd_config_fill()
2465 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.c1201 hapd->conf->ssid.wpa_psk && in hostapd_ctrl_iface_get_config()
1202 hapd->conf->ssid.wpa_psk->group) { in hostapd_ctrl_iface_get_config()
1205 hapd->conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_ctrl_iface_get_config()
2910 src_hapd->conf->ssid.wpa_psk->psk, PMK_LEN); in hostapd_ctrl_iface_dup_param()
DChangeLog958 containing PSKs, see hostapd.wpa_psk for an example
1038 - new hostapd.conf variables: wpa, wpa_psk, wpa_passphrase,