Searched refs:dh_ctx (Results 1 - 17 of 17) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_attr_build.c29 wps->wps->dh_ctx) {
37 wps->dh_ctx = wps->wps->dh_ctx;
38 wps->wps->dh_ctx = NULL;
63 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey);
67 dh5_free(wps->dh_ctx);
68 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey);
71 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) {
H A Dwps_common.c83 dh_shared = dh5_derive_shared(wps->dh_ctx, pubkey, wps->dh_privkey);
84 dh5_free(wps->dh_ctx);
85 wps->dh_ctx = NULL;
649 void *dh_ctx; local
651 dh_ctx = dh5_init(&priv, &pub);
652 if (dh_ctx == NULL)
660 dh5_free(dh_ctx);
H A Dwps_i.h115 void *dh_ctx; member in struct:wps_data
H A Dwps.c182 dh5_free(data->dh_ctx);
H A Dwps.h640 * dh_ctx - Context data for Diffie-Hellman operation
642 void *dh_ctx; member in struct:wps_context
/external/wpa_supplicant_8/src/wps/
H A Dwps_attr_build.c29 wps->wps->dh_ctx) {
37 wps->dh_ctx = wps->wps->dh_ctx;
38 wps->wps->dh_ctx = NULL;
63 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey);
67 dh5_free(wps->dh_ctx);
68 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey);
71 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) {
H A Dwps_common.c83 dh_shared = dh5_derive_shared(wps->dh_ctx, pubkey, wps->dh_privkey);
84 dh5_free(wps->dh_ctx);
85 wps->dh_ctx = NULL;
649 void *dh_ctx; local
651 dh_ctx = dh5_init(&priv, &pub);
652 if (dh_ctx == NULL)
660 dh5_free(dh_ctx);
H A Dwps_i.h115 void *dh_ctx; member in struct:wps_data
H A Dwps.c182 dh5_free(data->dh_ctx);
H A Dwps.h640 * dh_ctx - Context data for Diffie-Hellman operation
642 void *dh_ctx; member in struct:wps_context
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_attr_build.c29 wps->wps->dh_ctx) {
37 wps->dh_ctx = wps->wps->dh_ctx;
38 wps->wps->dh_ctx = NULL;
63 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey);
67 dh5_free(wps->dh_ctx);
68 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey);
71 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) {
H A Dwps_common.c83 dh_shared = dh5_derive_shared(wps->dh_ctx, pubkey, wps->dh_privkey);
84 dh5_free(wps->dh_ctx);
85 wps->dh_ctx = NULL;
649 void *dh_ctx; local
651 dh_ctx = dh5_init(&priv, &pub);
652 if (dh_ctx == NULL)
660 dh5_free(dh_ctx);
H A Dwps_i.h115 void *dh_ctx; member in struct:wps_data
H A Dwps.c182 dh5_free(data->dh_ctx);
H A Dwps.h640 * dh_ctx - Context data for Diffie-Hellman operation
642 void *dh_ctx; member in struct:wps_context
/external/wpa_supplicant_8/wpa_supplicant/
H A Dap.c1388 dh5_free(wps->dh_ctx);
1396 wps->dh_ctx = NULL;
1403 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, wps->dh_pubkey);
1404 if (wps->dh_ctx == NULL)
H A Dwps_supplicant.c2312 dh5_free(wps->dh_ctx);
2318 wps->dh_ctx = NULL;
2326 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, wps->dh_pubkey);
2327 if (wps->dh_ctx == NULL) {

Completed in 286 milliseconds