Searched refs:dh_pubkey (Results 1 – 10 of 10) sorted by relevance
1471 wpabuf_free(wps->dh_pubkey); in wpas_ap_wps_add_nfc_pw()1475 wps->dh_pubkey = wpabuf_dup( in wpas_ap_wps_add_nfc_pw()1477 if (wps->dh_privkey == NULL || wps->dh_pubkey == NULL) { in wpas_ap_wps_add_nfc_pw()1479 wpabuf_free(wps->dh_pubkey); in wpas_ap_wps_add_nfc_pw()1480 wps->dh_pubkey = NULL; in wpas_ap_wps_add_nfc_pw()1485 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, wps->dh_pubkey); in wpas_ap_wps_add_nfc_pw()
1665 wpabuf_free(wpa_s->wps->dh_pubkey); in wpas_wps_deinit()2338 wpabuf_free(wps->dh_pubkey); in wpas_wps_start_nfc()2341 wps->dh_pubkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_wps_start_nfc()2342 if (wps->dh_privkey == NULL || wps->dh_pubkey == NULL) { in wpas_wps_start_nfc()2344 wpabuf_free(wps->dh_pubkey); in wpas_wps_start_nfc()2345 wps->dh_pubkey = NULL; in wpas_wps_start_nfc()2351 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, wps->dh_pubkey); in wpas_wps_start_nfc()2353 wpabuf_free(wps->dh_pubkey); in wpas_wps_start_nfc()2354 wps->dh_pubkey = NULL; in wpas_wps_start_nfc()
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
690 struct wpabuf *dh_pubkey; member
1693 wpabuf_free(wpa_s->wps->dh_pubkey); in wpas_wps_deinit()2388 wpabuf_free(wps->dh_pubkey); in wpas_wps_start_nfc()2391 wps->dh_pubkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_wps_start_nfc()2392 if (wps->dh_privkey == NULL || wps->dh_pubkey == NULL) { in wpas_wps_start_nfc()2394 wpabuf_free(wps->dh_pubkey); in wpas_wps_start_nfc()2395 wps->dh_pubkey = NULL; in wpas_wps_start_nfc()2401 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, wps->dh_pubkey); in wpas_wps_start_nfc()2403 wpabuf_free(wps->dh_pubkey); in wpas_wps_start_nfc()2404 wps->dh_pubkey = NULL; in wpas_wps_start_nfc()
1704 wpabuf_free(wps->dh_pubkey); in wpas_ap_wps_add_nfc_pw()1708 wps->dh_pubkey = wpabuf_dup( in wpas_ap_wps_add_nfc_pw()1710 if (wps->dh_privkey == NULL || wps->dh_pubkey == NULL) { in wpas_ap_wps_add_nfc_pw()1712 wpabuf_free(wps->dh_pubkey); in wpas_ap_wps_add_nfc_pw()1713 wps->dh_pubkey = NULL; in wpas_ap_wps_add_nfc_pw()1718 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, wps->dh_pubkey); in wpas_ap_wps_add_nfc_pw()
1005 wpabuf_free(wps->dh_pubkey); in hostapd_free_wps()
1074 wpabuf_free(wps->dh_pubkey); in hostapd_free_wps()