HomeSort by relevance Sort by last modified time
    Searched refs:sm (Results 26 - 50 of 302) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/wpa_supplicant_8/src/eapol_supp/
eapol_supp_sm.h 258 void eapol_sm_deinit(struct eapol_sm *sm);
259 void eapol_sm_step(struct eapol_sm *sm);
260 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
262 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
263 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
265 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
267 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm);
268 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled);
269 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid);
270 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap.h 259 void eap_peer_sm_deinit(struct eap_sm *sm);
260 int eap_peer_sm_step(struct eap_sm *sm);
261 void eap_sm_abort(struct eap_sm *sm);
262 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen,
264 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted);
265 void eap_sm_request_identity(struct eap_sm *sm);
266 void eap_sm_request_password(struct eap_sm *sm);
267 void eap_sm_request_new_password(struct eap_sm *sm);
268 void eap_sm_request_pin(struct eap_sm *sm);
269 void eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len)
    [all...]
eap_i.h 87 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
95 void * (*init)(struct eap_sm *sm);
99 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
104 void (*deinit)(struct eap_sm *sm, void *priv);
108 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
121 struct wpabuf * (*process)(struct eap_sm *sm, void *priv,
127 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
131 Boolean (*isKeyAvailable)(struct eap_sm *sm, void *priv);
135 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
144 u8 * (*getKey)(struct eap_sm *sm, void *priv, size_t *len)
    [all...]
eap_tls.c 24 static void eap_tls_deinit(struct eap_sm *sm, void *priv);
33 static void * eap_tls_init(struct eap_sm *sm)
36 struct eap_peer_config *config = eap_get_config(sm);
38 ((sm->init_phase2 ? config->private_key2 : config->private_key)
40 (sm->init_phase2 ? config->engine2 : config->engine) == 0)) {
49 if (eap_peer_tls_ssl_init(sm, &data->ssl, config)) {
51 eap_tls_deinit(sm, data);
55 eap_sm_request_pin(sm);
56 sm->ignore = TRUE;
61 eap_sm_request_passphrase(sm);
    [all...]
  /external/wpa_supplicant_8/src/rsn_supp/
wpa_ft.c 21 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr,
28 if (sm->xxkey_len == 0) {
34 wpa_derive_pmk_r0(sm->xxkey, sm->xxkey_len, sm->ssid,
35 sm->ssid_len, sm->mobility_domain,
36 sm->r0kh_id, sm->r0kh_id_len, sm->own_addr
    [all...]
tdls.c 81 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
126 static int wpa_tdls_get_privacy(struct wpa_sm *sm)
133 return sm->pairwise_cipher != WPA_CIPHER_NONE;
144 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
146 if (wpa_sm_set_key(sm, WPA_ALG_NONE, peer->addr,
157 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
176 sm->pairwise_cipher);
180 if (wpa_sm_set_key(sm, alg, peer->addr, -1, 1,
190 static int wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst,
194 return wpa_sm_send_tdls_mgmt(sm, dst, action_code, dialog_token
283 struct wpa_sm *sm = eloop_ctx; local
581 struct wpa_sm *sm = eloop_ctx; local
2134 struct wpa_sm *sm = ctx; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/wps/
wps_upnp.c 494 * @sm: WPS UPnP state machine from upnp_wps_device_init()
497 * subscribed UPnP control points. sm->wlanevent must have been set with the
500 static void upnp_wps_device_send_event(struct upnp_wps_device_sm *sm)
512 if (sm->subscriptions == NULL) {
520 if (sm->wlanevent)
521 buf_size += os_strlen(sm->wlanevent);
528 wpabuf_put_property(buf, "WLANEvent", sm->wlanevent);
534 s = sm->subscriptions;
546 } while (s != sm->subscriptions);
561 struct upnp_wps_device_sm *sm = s->sm local
581 struct upnp_wps_device_sm *sm = s->sm; local
1123 struct upnp_wps_device_sm *sm; local
    [all...]
wps_upnp_i.h 66 struct upnp_wps_device_sm *sm; /* parent */ member in struct:advertisement_state_machine
99 struct upnp_wps_device_sm *sm; /* parent */ member in struct:subscription
162 struct subscription * subscription_start(struct upnp_wps_device_sm *sm,
164 struct subscription * subscription_renew(struct upnp_wps_device_sm *sm,
168 struct subscription * subscription_find(struct upnp_wps_device_sm *sm,
174 int advertisement_state_machine_start(struct upnp_wps_device_sm *sm);
175 void advertisement_state_machine_stop(struct upnp_wps_device_sm *sm,
177 void ssdp_listener_stop(struct upnp_wps_device_sm *sm);
178 int ssdp_listener_start(struct upnp_wps_device_sm *sm);
180 int ssdp_open_multicast(struct upnp_wps_device_sm *sm);
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_i.h 81 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
89 void * (*init)(struct eap_sm *sm);
93 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
98 void (*deinit)(struct eap_sm *sm, void *priv);
102 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
115 struct wpabuf * (*process)(struct eap_sm *sm, void *priv,
121 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
125 Boolean (*isKeyAvailable)(struct eap_sm *sm, void *priv);
129 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
138 u8 * (*getKey)(struct eap_sm *sm, void *priv, size_t *len)
    [all...]
eap_tls.c 18 static void eap_tls_deinit(struct eap_sm *sm, void *priv);
29 static void * eap_tls_init(struct eap_sm *sm)
32 struct eap_peer_config *config = eap_get_config(sm);
34 ((sm->init_phase2 ? config->private_key2 : config->private_key)
36 (sm->init_phase2 ? config->engine2 : config->engine) == 0)) {
45 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 :
46 sm->ssl_ctx;
48 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_TLS))
    [all...]
  /external/wpa_supplicant_8/src/wps/
wps_upnp.h 39 void upnp_wps_device_deinit(struct upnp_wps_device_sm *sm, void *priv);
41 int upnp_wps_device_send_wlan_event(struct upnp_wps_device_sm *sm,
45 int upnp_wps_subscribers(struct upnp_wps_device_sm *sm);
46 int upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin);
wps_upnp_i.h 81 struct upnp_wps_device_sm *sm; /* parent */ member in struct:subscription
153 struct subscription * subscription_start(struct upnp_wps_device_sm *sm,
155 struct subscription * subscription_renew(struct upnp_wps_device_sm *sm,
158 struct subscription * subscription_find(struct upnp_wps_device_sm *sm,
167 int advertisement_state_machine_start(struct upnp_wps_device_sm *sm);
168 void advertisement_state_machine_stop(struct upnp_wps_device_sm *sm,
170 void ssdp_listener_stop(struct upnp_wps_device_sm *sm);
171 int ssdp_listener_start(struct upnp_wps_device_sm *sm);
175 int ssdp_open_multicast(struct upnp_wps_device_sm *sm);
178 int web_listener_start(struct upnp_wps_device_sm *sm);
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
eap_gtc.c 27 static void * eap_gtc_init(struct eap_sm *sm)
37 if (sm->m && sm->m->vendor == EAP_VENDOR_IETF &&
38 sm->m->method == EAP_TYPE_FAST) {
49 static void eap_gtc_reset(struct eap_sm *sm, void *priv)
56 static struct wpabuf * eap_gtc_buildReq(struct eap_sm *sm, void *priv, u8 id)
83 static Boolean eap_gtc_check(struct eap_sm *sm, void *priv,
99 static void eap_gtc_process(struct eap_sm *sm, void *priv,
137 if (sm->identity && sm->require_identity_match &
    [all...]
eap_tls_common.h 45 int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data,
47 void eap_server_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data);
48 u8 * eap_server_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data,
53 int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data);
54 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm,
57 int eap_server_tls_process(struct eap_sm *sm, struct eap_ssl_data *data,
59 int (*proc_version)(struct eap_sm *sm, void *priv,
61 void (*proc_msg)(struct eap_sm *sm, void *priv,
eap_identity.c 27 static void * eap_identity_init(struct eap_sm *sm)
40 static void * eap_identity_initPickUp(struct eap_sm *sm)
43 data = eap_identity_init(sm);
51 static void eap_identity_reset(struct eap_sm *sm, void *priv)
58 static struct wpabuf * eap_identity_buildReq(struct eap_sm *sm, void *priv,
66 if (sm->eapol_cb->get_eap_req_id_text) {
67 req_data = sm->eapol_cb->get_eap_req_id_text(sm->eapol_ctx,
88 static Boolean eap_identity_check(struct eap_sm *sm, void *priv,
105 static void eap_identity_process(struct eap_sm *sm, void *priv
    [all...]
eap_fast.c 27 static void eap_fast_reset(struct eap_sm *sm, void *priv);
76 static int eap_fast_process_phase2_start(struct eap_sm *sm,
116 static EapType eap_fast_req_failure(struct eap_sm *sm,
272 static void eap_fast_derive_key_auth(struct eap_sm *sm,
281 sks = eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, "key expansion",
302 static void eap_fast_derive_key_provisioning(struct eap_sm *sm,
307 eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn,
334 static int eap_fast_get_phase2_key(struct eap_sm *sm,
352 if ((key = data->phase2_method->getKey(sm, data->phase2_priv,
379 static int eap_fast_update_icmk(struct eap_sm *sm, struct eap_fast_data *data
    [all...]
eap_i.h 35 void * (*init)(struct eap_sm *sm);
36 void * (*initPickUp)(struct eap_sm *sm);
37 void (*reset)(struct eap_sm *sm, void *priv);
39 struct wpabuf * (*buildReq)(struct eap_sm *sm, void *priv, u8 id);
40 int (*getTimeout)(struct eap_sm *sm, void *priv);
41 Boolean (*check)(struct eap_sm *sm, void *priv,
43 void (*process)(struct eap_sm *sm, void *priv,
45 Boolean (*isDone)(struct eap_sm *sm, void *priv);
46 u8 * (*getKey)(struct eap_sm *sm, void *priv, size_t *len);
49 Boolean (*isSuccess)(struct eap_sm *sm, void *priv)
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap_server_gtc.c 21 static void * eap_gtc_init(struct eap_sm *sm)
31 if (sm->m && sm->m->vendor == EAP_VENDOR_IETF &&
32 sm->m->method == EAP_TYPE_FAST) {
43 static void eap_gtc_reset(struct eap_sm *sm, void *priv)
50 static struct wpabuf * eap_gtc_buildReq(struct eap_sm *sm, void *priv, u8 id)
77 static Boolean eap_gtc_check(struct eap_sm *sm, void *priv,
93 static void eap_gtc_process(struct eap_sm *sm, void *priv,
131 if (sm->identity && sm->require_identity_match &
    [all...]
eap_tls_common.h 71 int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data,
73 void eap_server_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data);
74 u8 * eap_server_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data,
79 int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data);
80 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm,
83 int eap_server_tls_process(struct eap_sm *sm, struct eap_ssl_data *data,
85 int (*proc_version)(struct eap_sm *sm, void *priv,
87 void (*proc_msg)(struct eap_sm *sm, void *priv,
eap_server_identity.c 21 static void * eap_identity_init(struct eap_sm *sm)
34 static void * eap_identity_initPickUp(struct eap_sm *sm)
37 data = eap_identity_init(sm);
45 static void eap_identity_reset(struct eap_sm *sm, void *priv)
52 static struct wpabuf * eap_identity_buildReq(struct eap_sm *sm, void *priv,
60 if (sm->eapol_cb->get_eap_req_id_text) {
61 req_data = sm->eapol_cb->get_eap_req_id_text(sm->eapol_ctx,
82 static Boolean eap_identity_check(struct eap_sm *sm, void *priv,
99 static void eap_identity_process(struct eap_sm *sm, void *priv
    [all...]
eap_server_ttls.c 24 static void eap_ttls_reset(struct eap_sm *sm, void *priv);
302 static u8 * eap_ttls_implicit_challenge(struct eap_sm *sm,
305 return eap_server_tls_derive_key(sm, &data->ssl, "ttls challenge",
310 static void * eap_ttls_init(struct eap_sm *sm)
320 if (eap_server_tls_ssl_init(sm, &data->ssl, 0)) {
322 eap_ttls_reset(sm, data);
330 static void eap_ttls_reset(struct eap_sm *sm, void *priv)
336 data->phase2_method->reset(sm, data->phase2_priv);
337 eap_server_tls_ssl_deinit(sm, &data->ssl);
343 static struct wpabuf * eap_ttls_build_start(struct eap_sm *sm,
    [all...]
eap_server_fast.c 22 static void eap_fast_reset(struct eap_sm *sm, void *priv);
71 static int eap_fast_process_phase2_start(struct eap_sm *sm,
111 static EapType eap_fast_req_failure(struct eap_sm *sm,
267 static void eap_fast_derive_key_auth(struct eap_sm *sm,
276 sks = eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, "key expansion",
297 static void eap_fast_derive_key_provisioning(struct eap_sm *sm,
302 eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn,
329 static int eap_fast_get_phase2_key(struct eap_sm *sm,
347 if ((key = data->phase2_method->getKey(sm, data->phase2_priv,
374 static int eap_fast_update_icmk(struct eap_sm *sm, struct eap_fast_data *data
    [all...]
eap_i.h 29 void * (*init)(struct eap_sm *sm);
30 void * (*initPickUp)(struct eap_sm *sm);
31 void (*reset)(struct eap_sm *sm, void *priv);
33 struct wpabuf * (*buildReq)(struct eap_sm *sm, void *priv, u8 id);
34 int (*getTimeout)(struct eap_sm *sm, void *priv);
35 Boolean (*check)(struct eap_sm *sm, void *priv,
37 void (*process)(struct eap_sm *sm, void *priv,
39 Boolean (*isDone)(struct eap_sm *sm, void *priv);
40 u8 * (*getKey)(struct eap_sm *sm, void *priv, size_t *len);
43 Boolean (*isSuccess)(struct eap_sm *sm, void *priv)
    [all...]
  /external/clang/include/clang/Basic/
PrettyStackTrace.h 28 SourceManager &SM;
32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
33 : SM(sm), Loc(L), Message(Msg) {}
  /external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
pmksa_cache.h 52 void *ctx, struct wpa_sm *sm);
56 int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len);
61 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm);
62 void pmksa_cache_clear_current(struct wpa_sm *sm);
63 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
75 void *ctx, struct wpa_sm *sm)
91 pmksa_cache_get_current(struct wpa_sm *sm)
96 static inline int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len)
112 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
116 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid
    [all...]

Completed in 560 milliseconds

12 3 4 5 6 7 8 91011>>