Searched refs:dh_ctx (Results 1 – 14 of 14) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_attr_build.c | 29 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()
|
D | wps_common.c | 83 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() 649 void *dh_ctx; in wps_nfc_gen_dh() local 651 dh_ctx = dh5_init(&priv, &pub); in wps_nfc_gen_dh() 652 if (dh_ctx == NULL) in wps_nfc_gen_dh() 657 dh5_free(dh_ctx); in wps_nfc_gen_dh() 661 dh5_free(dh_ctx); in wps_nfc_gen_dh()
|
D | wps_i.h | 115 void *dh_ctx; member
|
D | wps.c | 184 dh5_free(data->dh_ctx); in wps_deinit()
|
D | wps.h | 684 void *dh_ctx; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_attr_build.c | 29 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()
|
D | wps_common.c | 83 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() 649 void *dh_ctx; in wps_nfc_gen_dh() local 651 dh_ctx = dh5_init(&priv, &pub); in wps_nfc_gen_dh() 652 if (dh_ctx == NULL) in wps_nfc_gen_dh() 657 dh5_free(dh_ctx); in wps_nfc_gen_dh() 661 dh5_free(dh_ctx); in wps_nfc_gen_dh()
|
D | wps_i.h | 115 void *dh_ctx; member
|
D | wps.c | 184 dh5_free(data->dh_ctx); in wps_deinit()
|
D | wps.h | 680 void *dh_ctx; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | ap.c | 1470 dh5_free(wps->dh_ctx); in wpas_ap_wps_add_nfc_pw() 1478 wps->dh_ctx = 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() 1486 if (wps->dh_ctx == NULL) in wpas_ap_wps_add_nfc_pw()
|
D | wps_supplicant.c | 2337 dh5_free(wps->dh_ctx); in wpas_wps_start_nfc() 2343 wps->dh_ctx = NULL; in wpas_wps_start_nfc() 2351 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, wps->dh_pubkey); in wpas_wps_start_nfc() 2352 if (wps->dh_ctx == NULL) { in wpas_wps_start_nfc()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | ap.c | 1703 dh5_free(wps->dh_ctx); in wpas_ap_wps_add_nfc_pw() 1711 wps->dh_ctx = 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() 1719 if (wps->dh_ctx == NULL) in wpas_ap_wps_add_nfc_pw()
|
D | wps_supplicant.c | 2387 dh5_free(wps->dh_ctx); in wpas_wps_start_nfc() 2393 wps->dh_ctx = NULL; in wpas_wps_start_nfc() 2401 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, wps->dh_pubkey); in wpas_wps_start_nfc() 2402 if (wps->dh_ctx == NULL) { in wpas_wps_start_nfc()
|