Home
last modified time | relevance | path

Searched refs:event_cb (Results 1 – 10 of 10) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_common.c276 if (wps->event_cb == NULL) in wps_fail_event()
284 wps->event_cb(wps->cb_ctx, WPS_EV_FAIL, &data); in wps_fail_event()
292 if (wps->event_cb == NULL) in wps_success_event()
297 wps->event_cb(wps->cb_ctx, WPS_EV_SUCCESS, &data); in wps_success_event()
306 if (wps->event_cb == NULL) in wps_pwd_auth_fail_event()
313 wps->event_cb(wps->cb_ctx, WPS_EV_PWD_AUTH_FAIL, &data); in wps_pwd_auth_fail_event()
319 if (wps->event_cb == NULL) in wps_pbc_overlap_event()
322 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_OVERLAP, NULL); in wps_pbc_overlap_event()
328 if (wps->event_cb == NULL) in wps_pbc_timeout_event()
331 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_TIMEOUT, NULL); in wps_pbc_timeout_event()
[all …]
Dwps_er.c40 if (wps->event_cb == NULL) in wps_er_sta_event()
55 wps->event_cb(wps->cb_ctx, event, &data); in wps_er_sta_event()
133 if (wps->event_cb == NULL) in wps_er_ap_event()
150 wps->event_cb(wps->cb_ctx, event, &data); in wps_er_ap_event()
1416 ap->er->wps->event_cb(ap->er->wps->cb_ctx, in wps_er_http_set_sel_reg_cb()
1552 er->wps->event_cb(er->wps->cb_ctx, in wps_er_set_sel_reg()
1623 ap->er->wps->event_cb(ap->er->wps->cb_ctx, WPS_EV_ER_AP_SETTINGS, in wps_er_ap_settings_cb()
Dwps_enrollee.c1048 if (wps->wps->event_cb) { in wps_process_m2d()
1072 wps->wps->event_cb(wps->wps->cb_ctx, WPS_EV_M2D, &data); in wps_process_m2d()
1184 wps->wps->event_cb(wps->wps->cb_ctx, WPS_EV_AP_PIN_SUCCESS, in wps_process_m6()
Dwps.h768 void (*event_cb)(void *ctx, enum wps_event event, member
/external/wpa_supplicant_8/src/crypto/
Dtls_gnutls.c36 void (*event_cb)(void *ctx, enum tls_event ev, member
120 global->event_cb = conf->event_cb; in tls_init()
769 if (global->event_cb == NULL) in gnutls_tls_fail_event()
781 global->event_cb(global->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in gnutls_tls_fail_event()
1084 if (conn->global->event_cb) { in tls_connection_verify_peer()
1109 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1196 if (conn->global->event_cb != NULL) in tls_connection_verify_peer()
1197 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1279 if (conn->global->event_cb != NULL) { in tls_connection_handshake()
1286 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_handshake()
Dtls_openssl.c73 void (*event_cb)(void *ctx, enum tls_event ev, member
123 context->event_cb = conf->event_cb; in tls_context_new()
571 if (conn->context->event_cb != NULL) { in ssl_info_cb()
578 context->event_cb(context->cb_ctx, TLS_ALERT, &ev); in ssl_info_cb()
1394 if (context->event_cb == NULL) in openssl_tls_fail_event()
1405 context->event_cb(context->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in openssl_tls_fail_event()
1426 if (context->event_cb == NULL) in openssl_tls_cert_event()
1490 context->event_cb(context->cb_ctx, TLS_PEER_CERTIFICATE, &ev); in openssl_tls_cert_event()
1642 if (preverify_ok && context->event_cb != NULL) in tls_verify_cb()
1643 context->event_cb(context->cb_ctx, in tls_verify_cb()
Dtls.h83 void (*event_cb)(void *ctx, enum tls_event ev, member
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c987 wps->event_cb = hostapd_wps_event_cb; in hostapd_init_wps()
/external/wpa_supplicant_8/src/eap_peer/
Deap.c1938 tlsconf.event_cb = eap_peer_sm_tls_event; in eap_peer_sm_init()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c1467 wps->event_cb = wpa_supplicant_wps_event; in wpas_wps_init()