Home
last modified time | relevance | path

Searched refs:dh_ctx (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_attr_build.c29 wps->wps->dh_ctx) { in wps_build_public_key()
37 wps->dh_ctx = wps->wps->dh_ctx; in wps_build_public_key()
38 wps->wps->dh_ctx = NULL; in wps_build_public_key()
64 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey); in wps_build_public_key()
68 dh5_free(wps->dh_ctx); in wps_build_public_key()
69 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey); in wps_build_public_key()
72 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) { in wps_build_public_key()
Dwps_common.c83 dh_shared = dh5_derive_shared(wps->dh_ctx, pubkey, wps->dh_privkey); in wps_derive_keys()
84 dh5_free(wps->dh_ctx); in wps_derive_keys()
85 wps->dh_ctx = NULL; in wps_derive_keys()
665 void *dh_ctx; in wps_nfc_gen_dh() local
667 dh_ctx = dh5_init(&priv, &pub); in wps_nfc_gen_dh()
668 if (dh_ctx == NULL) in wps_nfc_gen_dh()
673 dh5_free(dh_ctx); in wps_nfc_gen_dh()
677 dh5_free(dh_ctx); in wps_nfc_gen_dh()
Dwps_i.h116 void *dh_ctx; member
Dwps.h690 void *dh_ctx; member
Dwps.c190 dh5_free(data->dh_ctx); in wps_deinit()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_wps.c1702 sm->wps->wps->dh_ctx = sm->wps->dh_ctx; in wifi_station_wps_start()