Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/wpa_supplicant/src/ap/
Dap_config.c135 memcpy(ssid->wpa_psk->psk, esp_wifi_ap_get_prof_pmk_internal(), PMK_LEN); in hostapd_derive_psk()
140 4096, ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
143 ssid->wpa_psk->psk, PMK_LEN); in hostapd_derive_psk()
264 struct hostapd_wpa_psk *psk; in hostapd_get_psk() local
267 for (psk = conf->ssid.wpa_psk; psk != NULL; psk = psk->next) { in hostapd_get_psk()
269 (psk->group || memcmp(psk->addr, addr, ETH_ALEN) == 0)) in hostapd_get_psk()
270 return psk->psk; in hostapd_get_psk()
272 if (psk->psk == prev_psk) in hostapd_get_psk()
281 struct hostapd_wpa_psk *psk, *tmp; in hostapd_config_clear_wpa_psk() local
283 for (psk = *l; psk;) { in hostapd_config_clear_wpa_psk()
[all …]
Dap_config.h99 u8 psk[PMK_LEN]; member
105 u8 psk[PMK_LEN]; member
Dwpa_auth.c1501 const u8 *psk; in SM_STATE() local
1503 psk = wpa_auth_get_psk(sm->wpa_auth, sm->addr, NULL); in SM_STATE()
1504 if (psk) { in SM_STATE()
1505 memcpy(sm->PMK, psk, PMK_LEN); in SM_STATE()
1507 memcpy(sm->xxkey, psk, PMK_LEN); in SM_STATE()
/hal_espressif-3.7.0/components/wpa_supplicant/src/wps/
Dwps_enrollee.c309 u8 psk[32]; in wps_build_cred_network_key() local
312 random_get_bytes(psk, sizeof(psk)) < 0) { in wps_build_cred_network_key()
318 psk, sizeof(psk)); in wps_build_cred_network_key()
321 wpa_snprintf_hex(hex, sizeof(hex), psk, sizeof(psk)); in wps_build_cred_network_key()
323 wpabuf_put_be16(msg, sizeof(psk) * 2); in wps_build_cred_network_key()
324 wpabuf_put_data(msg, hex, sizeof(psk) * 2); in wps_build_cred_network_key()
329 wps->p2p_dev_addr, psk, sizeof(psk)); in wps_build_cred_network_key()
Dwps.h273 const u8 *psk, size_t psk_len);
357 int (*lookup_pskfile_cb)(void *ctx, const u8 *mac_addr, const u8 **psk);
767 u8 psk[32]; member
Dwps_i.h224 const u8 *p2p_dev_addr, const u8 *psk, size_t psk_len);
Dwps_registrar.c147 const u8 *psk, size_t psk_len);
161 int (*lookup_pskfile_cb)(void *ctx, const u8 *mac_addr, const u8 **psk);
1233 const u8 *p2p_dev_addr, const u8 *psk, size_t psk_len) in wps_cb_new_psk() argument
1238 return reg->new_psk_cb(reg->cb_ctx, mac_addr, p2p_dev_addr, psk, in wps_cb_new_psk()
1298 const u8 **psk) in wps_cp_lookup_pskfile() argument
1302 return reg->lookup_pskfile_cb(reg->cb_ctx, mac_addr, psk); in wps_cp_lookup_pskfile()
1759 wpa_snprintf_hex(hex, sizeof(hex), wps->wps->psk, PMK_LEN); in wps_build_cred()
/hal_espressif-3.7.0/components/wpa_supplicant/src/common/
Ddpp.h226 u8 psk[32]; member
296 u8 psk[PMK_LEN]; member
Ddpp.c3668 if (hexstr2bin(pos, conf->psk, PMK_LEN) < 0) in dpp_configuration_parse_helper()
3936 char psk[2 * sizeof(conf->psk) + 1]; in dpp_build_legacy_cred_params() local
3938 wpa_snprintf_hex(psk, sizeof(psk), in dpp_build_legacy_cred_params()
3939 conf->psk, sizeof(conf->psk)); in dpp_build_legacy_cred_params()
3940 json_add_string(buf, "psk_hex", psk); in dpp_build_legacy_cred_params()
3941 forced_memzero(psk, sizeof(psk)); in dpp_build_legacy_cred_params()
4646 hexstr2bin(psk_hex->string, conf->psk, PMK_LEN) < 0) { in dpp_parse_cred_legacy()
4651 conf->psk, PMK_LEN); in dpp_parse_cred_legacy()
5226 int dpp = 0, psk = 0, sae = 0; in dpp_akm_from_str() local
5248 psk = 1; in dpp_akm_from_str()
[all …]
/hal_espressif-3.7.0/components/esp_wifi/
DKconfig544 that risk, also passphrase requires pbkdf2 to convert in psk.