Searched refs:dh_pubkey (Results 1 – 5 of 5) sorted by relevance
31 if (wps->wps->dh_pubkey == NULL) { in wps_build_public_key()39 pubkey = wpabuf_dup(wps->wps->dh_pubkey); in wps_build_public_key()
694 struct wpabuf *dh_pubkey; member
1688 wpabuf_free(wpa_s->wps->dh_pubkey); in wpas_wps_deinit()2383 wpabuf_free(wps->dh_pubkey); in wpas_wps_start_nfc()2386 wps->dh_pubkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_wps_start_nfc()2387 if (wps->dh_privkey == NULL || wps->dh_pubkey == NULL) { in wpas_wps_start_nfc()2389 wpabuf_free(wps->dh_pubkey); in wpas_wps_start_nfc()2390 wps->dh_pubkey = NULL; in wpas_wps_start_nfc()2396 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, wps->dh_pubkey); in wpas_wps_start_nfc()2398 wpabuf_free(wps->dh_pubkey); in wpas_wps_start_nfc()2399 wps->dh_pubkey = NULL; in wpas_wps_start_nfc()
1611 wpabuf_free(wps->dh_pubkey); in wpas_ap_wps_add_nfc_pw()1615 wps->dh_pubkey = wpabuf_dup( in wpas_ap_wps_add_nfc_pw()1617 if (wps->dh_privkey == NULL || wps->dh_pubkey == NULL) { in wpas_ap_wps_add_nfc_pw()1619 wpabuf_free(wps->dh_pubkey); in wpas_ap_wps_add_nfc_pw()1620 wps->dh_pubkey = NULL; in wpas_ap_wps_add_nfc_pw()1625 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, wps->dh_pubkey); in wpas_ap_wps_add_nfc_pw()
1074 wpabuf_free(wps->dh_pubkey); in hostapd_free_wps()