Searched refs:dh_privkey (Results 1 – 11 of 11) sorted by relevance
/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_build.c | 26 wpabuf_free(wps->dh_privkey); in wps_build_public_key() 27 if (wps->dev_pw_id != DEV_PW_DEFAULT && wps->wps->dh_privkey) { in wps_build_public_key() 29 wps->dh_privkey = wpabuf_dup(wps->wps->dh_privkey); in wps_build_public_key() 35 wps->dh_privkey = NULL; in wps_build_public_key() 37 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey); in wps_build_public_key() 40 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) { in wps_build_public_key() 46 wpa_hexdump_buf_key(MSG_DEBUG, "WPS: DH Private Key", wps->dh_privkey); in wps_build_public_key()
|
D | wps_common.c | 67 if (wps->dh_privkey == NULL) { in wps_derive_keys() 78 wpa_hexdump_buf_key(MSG_DEBUG, "WPS: DH Private Key", wps->dh_privkey); in wps_derive_keys() 80 dh_shared = dh5_derive_shared(wps->dh_ctx, pubkey, wps->dh_privkey); in wps_derive_keys() 90 wpabuf_free(wps->dh_privkey); in wps_derive_keys() 91 wps->dh_privkey = NULL; in wps_derive_keys()
|
D | wps_i.h | 58 struct wpabuf *dh_privkey; member
|
D | wps.h | 632 struct wpabuf *dh_privkey; member
|
D | wps.c | 130 wpabuf_free(data->dh_privkey); in wps_deinit()
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
D | wps_common.c | 72 if (wps->dh_privkey == NULL) { in wps_derive_keys() 83 dh_shared = dh_derive_shared(pubkey, wps->dh_privkey, in wps_derive_keys() 92 wpabuf_free(wps->dh_privkey); in wps_derive_keys() 93 wps->dh_privkey = NULL; in wps_derive_keys()
|
D | wps.c | 110 wpabuf_free(data->dh_privkey); in wps_deinit()
|
D | wps_attr_build.c | 29 pubkey = dh_init(dh_groups_get(WPS_DH_GROUP), &wps->dh_privkey); in wps_build_public_key()
|
D | wps_i.h | 59 struct wpabuf *dh_privkey; member
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 1000 wpabuf_free(hapd->wps->dh_privkey); in hostapd_deinit_wps() 1121 wpabuf_free(wps->dh_privkey); in hostapd_wps_start_oob() 1122 wps->dh_privkey = NULL; in hostapd_wps_start_oob() 1124 &wps->dh_privkey); in hostapd_wps_start_oob() 1148 wpabuf_free(wps->dh_privkey); in hostapd_wps_start_oob() 1149 wps->dh_privkey = NULL; in hostapd_wps_start_oob()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wps_supplicant.c | 958 wpabuf_free(wps->dh_privkey); in wpas_wps_start_oob() 959 wps->dh_privkey = NULL; in wpas_wps_start_oob() 962 wps->dh_ctx = dh5_init(&wps->dh_privkey, &wps->dh_pubkey); in wpas_wps_start_oob() 1228 wpabuf_free(wpa_s->wps->dh_privkey); in wpas_wps_deinit()
|