Searched defs:sm (Results 1 - 25 of 274) sorted by relevance

1234567891011

/external/clang/include/clang/Basic/
H A DPrettyStackTrace.h32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg) argument
33 : SM(sm), Loc(L), Message(Msg) {}
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_otp.c15 static void * eap_otp_init(struct eap_sm *sm) argument
23 static void eap_otp_deinit(struct eap_sm *sm, void *priv) argument
28 static struct wpabuf * eap_otp_process(struct eap_sm *sm, void *priv, argument
45 password = eap_get_config_otp(sm, &password_len);
49 password = eap_get_config_password(sm, &password_len);
55 eap_sm_request_otp(sm, (const char *) pos, len);
76 eap_clear_config_otp(sm);
H A Deap_md5.c16 static void * eap_md5_init(struct eap_sm *sm) argument
24 static void eap_md5_deinit(struct eap_sm *sm, void *priv) argument
29 static struct wpabuf * eap_md5_process(struct eap_sm *sm, void *priv, argument
38 password = eap_get_config_password(sm, &password_len);
41 eap_sm_request_password(sm);
H A Deap_gtc.c20 static void * eap_gtc_init(struct eap_sm *sm) argument
27 if (sm->m && sm->m->vendor == EAP_VENDOR_IETF &&
28 sm->m->method == EAP_TYPE_FAST) {
37 static void eap_gtc_deinit(struct eap_sm *sm, void *priv) argument
44 static struct wpabuf * eap_gtc_process(struct eap_sm *sm, void *priv, argument
77 password = eap_get_config_otp(sm, &password_len);
81 password = eap_get_config_password(sm, &password_len);
87 eap_sm_request_otp(sm, (const char *) pos, len);
99 identity = eap_get_config_identity(sm,
[all...]
H A Deap_proxy_dummy.c27 int eap_proxy_key_available(struct eap_proxy_sm *sm) argument
33 const u8 * eap_proxy_get_eapKeyData(struct eap_proxy_sm *sm, size_t *len) argument
39 struct wpabuf * eap_proxy_get_eapRespData(struct eap_proxy_sm *sm) argument
45 int eap_proxy_sm_step(struct eap_proxy_sm *sm, struct eap_sm *eap_sm) argument
59 int eap_proxy_sm_get_status(struct eap_proxy_sm *sm, char *buf, size_t buflen, argument
72 int eap_proxy_notify_config(struct eap_proxy_sm *sm, argument
H A Deap_vendor_test.c34 static void * eap_vendor_test_init(struct eap_sm *sm) argument
46 static void eap_vendor_test_deinit(struct eap_sm *sm, void *priv) argument
56 struct eap_sm *sm = eloop_ctx; local
59 eap_notify_pending(sm);
64 static struct wpabuf * eap_vendor_test_process(struct eap_sm *sm, void *priv, argument
107 eloop_register_timeout(1, 0, eap_vendor_ready, sm,
140 static Boolean eap_vendor_test_isKeyAvailable(struct eap_sm *sm, void *priv) argument
147 static u8 * eap_vendor_test_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_otp.c15 static void * eap_otp_init(struct eap_sm *sm) argument
23 static void eap_otp_deinit(struct eap_sm *sm, void *priv) argument
28 static struct wpabuf * eap_otp_process(struct eap_sm *sm, void *priv, argument
45 password = eap_get_config_otp(sm, &password_len);
49 password = eap_get_config_password(sm, &password_len);
55 eap_sm_request_otp(sm, (const char *) pos, len);
76 eap_clear_config_otp(sm);
H A Deap_md5.c16 static void * eap_md5_init(struct eap_sm *sm) argument
24 static void eap_md5_deinit(struct eap_sm *sm, void *priv) argument
29 static struct wpabuf * eap_md5_process(struct eap_sm *sm, void *priv, argument
38 password = eap_get_config_password(sm, &password_len);
41 eap_sm_request_password(sm);
H A Deap_gtc.c20 static void * eap_gtc_init(struct eap_sm *sm) argument
27 if (sm->m && sm->m->vendor == EAP_VENDOR_IETF &&
28 sm->m->method == EAP_TYPE_FAST) {
37 static void eap_gtc_deinit(struct eap_sm *sm, void *priv) argument
44 static struct wpabuf * eap_gtc_process(struct eap_sm *sm, void *priv, argument
77 password = eap_get_config_otp(sm, &password_len);
81 password = eap_get_config_password(sm, &password_len);
87 eap_sm_request_otp(sm, (const char *) pos, len);
99 identity = eap_get_config_identity(sm,
[all...]
H A Deap_proxy_dummy.c27 int eap_proxy_key_available(struct eap_proxy_sm *sm) argument
33 const u8 * eap_proxy_get_eapKeyData(struct eap_proxy_sm *sm, size_t *len) argument
39 struct wpabuf * eap_proxy_get_eapRespData(struct eap_proxy_sm *sm) argument
45 int eap_proxy_sm_step(struct eap_proxy_sm *sm, struct eap_sm *eap_sm) argument
59 int eap_proxy_sm_get_status(struct eap_proxy_sm *sm, char *buf, size_t buflen, argument
72 int eap_proxy_notify_config(struct eap_proxy_sm *sm, argument
H A Deap_vendor_test.c34 static void * eap_vendor_test_init(struct eap_sm *sm) argument
46 static void eap_vendor_test_deinit(struct eap_sm *sm, void *priv) argument
56 struct eap_sm *sm = eloop_ctx; local
59 eap_notify_pending(sm);
64 static struct wpabuf * eap_vendor_test_process(struct eap_sm *sm, void *priv, argument
107 eloop_register_timeout(1, 0, eap_vendor_ready, sm,
140 static Boolean eap_vendor_test_isKeyAvailable(struct eap_sm *sm, void *priv) argument
147 static u8 * eap_vendor_test_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_otp.c15 static void * eap_otp_init(struct eap_sm *sm) argument
23 static void eap_otp_deinit(struct eap_sm *sm, void *priv) argument
28 static struct wpabuf * eap_otp_process(struct eap_sm *sm, void *priv, argument
45 password = eap_get_config_otp(sm, &password_len);
49 password = eap_get_config_password(sm, &password_len);
55 eap_sm_request_otp(sm, (const char *) pos, len);
76 eap_clear_config_otp(sm);
H A Deap_md5.c16 static void * eap_md5_init(struct eap_sm *sm) argument
24 static void eap_md5_deinit(struct eap_sm *sm, void *priv) argument
29 static struct wpabuf * eap_md5_process(struct eap_sm *sm, void *priv, argument
38 password = eap_get_config_password(sm, &password_len);
41 eap_sm_request_password(sm);
/external/wpa_supplicant_8/hostapd/
H A Ddump_state.c37 struct eapol_state_machine *sm = sta->eapol_sm; local
38 if (sm == NULL)
43 if (sm->identity) {
46 for (i = 0; i < sm->identity_len; i++)
47 fprint_char(f, sm->identity[i]);
53 sm->eap_type_authsrv,
54 eap_server_get_name(0, sm->eap_type_authsrv),
55 sm->eap_type_supp, eap_server_get_name(0, sm->eap_type_supp));
58 sm
[all...]
/external/wpa_supplicant_8/hostapd/src/eapol_auth/
H A Deapol_auth_dump.c122 struct eapol_state_machine *sm)
126 sm->aWhile, sm->quietWhile, sm->reAuthWhen);
135 prefix, _SB(sm->authAbort), _SB(sm->authFail),
136 port_state_txt(sm->authPortStatus), _SB(sm->authStart),
137 prefix, _SB(sm->authTimeout), _SB(sm
121 eapol_auth_dump_state(FILE *f, const char *prefix, struct eapol_state_machine *sm) argument
[all...]
/external/wpa_supplicant_8/src/eapol_auth/
H A Deapol_auth_dump.c122 struct eapol_state_machine *sm)
126 sm->aWhile, sm->quietWhile, sm->reAuthWhen);
135 prefix, _SB(sm->authAbort), _SB(sm->authFail),
136 port_state_txt(sm->authPortStatus), _SB(sm->authStart),
137 prefix, _SB(sm->authTimeout), _SB(sm
121 eapol_auth_dump_state(FILE *f, const char *prefix, struct eapol_state_machine *sm) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eapol_auth/
H A Deapol_auth_dump.c122 struct eapol_state_machine *sm)
126 sm->aWhile, sm->quietWhile, sm->reAuthWhen);
135 prefix, _SB(sm->authAbort), _SB(sm->authFail),
136 port_state_txt(sm->authPortStatus), _SB(sm->authStart),
137 prefix, _SB(sm->authTimeout), _SB(sm
121 eapol_auth_dump_state(FILE *f, const char *prefix, struct eapol_state_machine *sm) argument
[all...]
/external/eigen/unsupported/test/
H A Dsparse_extra.cpp18 bool test_random_setter(SparseMatrix<Scalar,Options>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) argument
22 sm.setZero();
23 SetterType w(sm);
33 return sm.isApprox(ref);
37 bool test_random_setter(DynamicSparseMatrix<T>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) argument
39 sm.setZero();
44 sm.coeffRef(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y());
48 return sm.isApprox(ref);
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_identity.c21 static void * eap_identity_init(struct eap_sm *sm) argument
34 static void * eap_identity_initPickUp(struct eap_sm *sm) argument
37 data = eap_identity_init(sm);
45 static void eap_identity_reset(struct eap_sm *sm, void *priv) argument
52 static struct wpabuf * eap_identity_buildReq(struct eap_sm *sm, void *priv, argument
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, argument
99 static void eap_identity_process(struct eap_sm *sm, voi argument
136 eap_identity_isDone(struct eap_sm *sm, void *priv) argument
143 eap_identity_isSuccess(struct eap_sm *sm, void *priv) argument
[all...]
H A Deap_server_md5.c25 static void * eap_md5_init(struct eap_sm *sm) argument
38 static void eap_md5_reset(struct eap_sm *sm, void *priv) argument
45 static struct wpabuf * eap_md5_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
76 static Boolean eap_md5_check(struct eap_sm *sm, void *priv, argument
98 static void eap_md5_process(struct eap_sm *sm, void *priv, argument
106 if (sm->user == NULL || sm->user->password == NULL ||
107 sm->user->password_hash) {
122 if (chap_md5(id, sm->user->password, sm
139 eap_md5_isDone(struct eap_sm *sm, void *priv) argument
146 eap_md5_isSuccess(struct eap_sm *sm, void *priv) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dpreauth.h16 void pmksa_candidate_free(struct wpa_sm *sm);
17 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
19 void rsn_preauth_deinit(struct wpa_sm *sm);
20 int rsn_preauth_scan_results(struct wpa_sm *sm);
21 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid,
23 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
25 void rsn_preauth_candidate_process(struct wpa_sm *sm);
26 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen,
28 int rsn_preauth_in_progress(struct wpa_sm *sm);
32 static inline void pmksa_candidate_free(struct wpa_sm *sm) argument
36 rsn_preauth_candidate_process(struct wpa_sm *sm) argument
40 rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct eap_peer_config *eap_conf) argument
46 rsn_preauth_deinit(struct wpa_sm *sm) argument
50 rsn_preauth_scan_results(struct wpa_sm *sm) argument
55 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) argument
60 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument
66 rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument
72 rsn_preauth_in_progress(struct wpa_sm *sm) argument
[all...]
H A Dwpa_ie.c108 struct wpa_sm *sm)
117 (sm->cur_pmksa ? 2 + PMKID_LEN : 0)) {
186 if (sm->mfp)
188 if (sm->mfp == 2)
194 if (sm->cur_pmksa) {
199 os_memcpy(pos, sm->cur_pmksa->pmkid, PMKID_LEN);
205 if (!sm->cur_pmksa) {
227 * @sm: Pointer to WPA state machine data from wpa_sm_init()
232 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) argument
234 if (sm
105 wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt, int mgmt_group_cipher, struct wpa_sm *sm) argument
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_identity.c21 static void * eap_identity_init(struct eap_sm *sm) argument
34 static void * eap_identity_initPickUp(struct eap_sm *sm) argument
37 data = eap_identity_init(sm);
45 static void eap_identity_reset(struct eap_sm *sm, void *priv) argument
52 static struct wpabuf * eap_identity_buildReq(struct eap_sm *sm, void *priv, argument
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, argument
99 static void eap_identity_process(struct eap_sm *sm, voi argument
136 eap_identity_isDone(struct eap_sm *sm, void *priv) argument
143 eap_identity_isSuccess(struct eap_sm *sm, void *priv) argument
[all...]
H A Deap_server_md5.c25 static void * eap_md5_init(struct eap_sm *sm) argument
38 static void eap_md5_reset(struct eap_sm *sm, void *priv) argument
45 static struct wpabuf * eap_md5_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
76 static Boolean eap_md5_check(struct eap_sm *sm, void *priv, argument
98 static void eap_md5_process(struct eap_sm *sm, void *priv, argument
106 if (sm->user == NULL || sm->user->password == NULL ||
107 sm->user->password_hash) {
122 if (chap_md5(id, sm->user->password, sm
139 eap_md5_isDone(struct eap_sm *sm, void *priv) argument
146 eap_md5_isSuccess(struct eap_sm *sm, void *priv) argument
[all...]
/external/wpa_supplicant_8/src/rsn_supp/
H A Dpreauth.h16 void pmksa_candidate_free(struct wpa_sm *sm);
17 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
19 void rsn_preauth_deinit(struct wpa_sm *sm);
20 int rsn_preauth_scan_results(struct wpa_sm *sm);
21 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid,
23 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
25 void rsn_preauth_candidate_process(struct wpa_sm *sm);
26 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen,
28 int rsn_preauth_in_progress(struct wpa_sm *sm);
32 static inline void pmksa_candidate_free(struct wpa_sm *sm) argument
36 rsn_preauth_candidate_process(struct wpa_sm *sm) argument
40 rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct eap_peer_config *eap_conf) argument
46 rsn_preauth_deinit(struct wpa_sm *sm) argument
50 rsn_preauth_scan_results(struct wpa_sm *sm) argument
55 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) argument
60 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument
66 rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument
72 rsn_preauth_in_progress(struct wpa_sm *sm) argument
[all...]

Completed in 310 milliseconds

1234567891011