Home
last modified time | relevance | path

Searched refs:network_key (Results 1 – 9 of 9) sorted by relevance

/freebsd-9-stable/contrib/wpa/src/ap/
Dwps_hostapd.c249 os_free(hapd->wps->network_key); in hostapd_wps_cred_cb()
250 hapd->wps->network_key = NULL; in hostapd_wps_cred_cb()
253 if (hapd->wps->network_key == NULL || in hostapd_wps_cred_cb()
256 os_free(hapd->wps->network_key); in hostapd_wps_cred_cb()
257 hapd->wps->network_key = os_malloc(cred->key_len); in hostapd_wps_cred_cb()
258 if (hapd->wps->network_key == NULL) in hostapd_wps_cred_cb()
262 os_memcpy(hapd->wps->network_key, cred->key, cred->key_len); in hostapd_wps_cred_cb()
601 wps->network_key = (u8 *) os_strdup(conf->ssid.wpa_passphrase); in hostapd_init_wps()
604 wps->network_key = os_malloc(2 * PMK_LEN + 1); in hostapd_init_wps()
605 if (wps->network_key == NULL) { in hostapd_init_wps()
[all …]
/freebsd-9-stable/contrib/wpa/src/wps/
Dwps_attr_process.c295 wps_process_cred_network_key(cred, attr->network_key, in wps_process_cred()
322 wps_process_cred_network_key(cred, attr->network_key, in wps_process_ap_settings()
Dwps_i.h183 const u8 *network_key; /* <= 64 octets */ member
Dwps.h591 u8 *network_key; member
Dwps_attr_parse.c383 attr->network_key = pos; in wps_set_attr()
Dwps_enrollee.c258 wpabuf_put_data(msg, wps->wps->network_key, wps->wps->network_key_len); in wps_build_cred_network_key()
Dwps_registrar.c1260 } else if (wps->wps->network_key) { in wps_build_cred()
1261 os_memcpy(wps->cred.key, wps->wps->network_key, in wps_build_cred()
/freebsd-9-stable/contrib/wpa/src/eap_peer/
Deap_wsc.c243 os_free(data->wps_ctx->network_key); in eap_wsc_deinit()
244 data->wps_ctx->network_key = NULL; in eap_wsc_deinit()
/freebsd-9-stable/contrib/wpa/wpa_supplicant/
Dwps_supplicant.c890 os_free(wpa_s->wps->network_key); in wpas_wps_deinit()