/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
preauth.h | 22 void pmksa_candidate_free(struct wpa_sm *sm); 23 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, 25 void rsn_preauth_deinit(struct wpa_sm *sm); 26 void rsn_preauth_scan_results(struct wpa_sm *sm, 28 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, 30 void rsn_preauth_candidate_process(struct wpa_sm *sm); 31 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, 33 int rsn_preauth_in_progress(struct wpa_sm *sm); 37 static inline void pmksa_candidate_free(struct wpa_sm *sm) 41 static inline void rsn_preauth_candidate_process(struct wpa_sm *sm) [all...] |
wpa_i.h | 112 static inline void wpa_sm_set_state(struct wpa_sm *sm, wpa_states state) 114 WPA_ASSERT(sm->ctx->set_state); 115 sm->ctx->set_state(sm->ctx->ctx, state); 118 static inline wpa_states wpa_sm_get_state(struct wpa_sm *sm) 120 WPA_ASSERT(sm->ctx->get_state); 121 return sm->ctx->get_state(sm->ctx->ctx); 124 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) 126 WPA_ASSERT(sm->ctx->deauthenticate) [all...] |
wpa.c | 94 * @sm: Pointer to WPA state machine data from wpa_sm_init() 103 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, 107 if (is_zero_ether_addr(dest) && is_zero_ether_addr(sm->bssid)) { 112 if (wpa_sm_get_bssid(sm, sm->bssid) < 0) { 116 dest = sm->bssid; 125 wpa_sm_ether_send(sm, dest, proto, msg, msg_len); 126 eapol_sm_notify_tx_eapol_key(sm->eapol); 133 * @sm: Pointer to WPA state machine data from wpa_sm_init() 141 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise 457 struct wpa_sm *sm = eloop_ctx; local 506 struct wpa_sm *sm = eloop_ctx; local 1829 struct wpa_sm *sm = ctx; local 1861 struct wpa_sm *sm; local [all...] |
preauth.c | 43 * @sm: Pointer to WPA state machine data from wpa_sm_init() 45 void pmksa_candidate_free(struct wpa_sm *sm) 49 if (sm == NULL) 52 entry = sm->pmksa_candidates; 53 sm->pmksa_candidates = NULL; 65 struct wpa_sm *sm = ctx; local 70 if (sm->preauth_eapol == NULL || 71 is_zero_ether_addr(sm->preauth_bssid) || 72 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) { 79 eapol_sm_rx_eapol(sm->preauth_eapol, src_addr, buf, len) 86 struct wpa_sm *sm = ctx; local 128 struct wpa_sm *sm = eloop_ctx; local 140 struct wpa_sm *sm = ctx; local [all...] |
wpa.h | 94 void wpa_sm_deinit(struct wpa_sm *sm); 95 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid); 96 void wpa_sm_notify_disassoc(struct wpa_sm *sm); 97 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len); 98 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm); 99 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth); 100 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx); 101 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config); 102 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr); 103 void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname [all...] |
wpa_ft.c | 26 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, 34 if (sm->xxkey_len == 0) { 40 wpa_derive_pmk_r0(sm->xxkey, sm->xxkey_len, sm->ssid, 41 sm->ssid_len, sm->mobility_domain, 42 sm->r0kh_id, sm->r0kh_id_len, sm->own_addr [all...] |
/external/openssl/crypto/store/ |
str_meth.c | 86 int STORE_method_set_initialise_function(STORE_METHOD *sm, STORE_INITIALISE_FUNC_PTR init_f) 88 sm->init = init_f; 92 int STORE_method_set_cleanup_function(STORE_METHOD *sm, STORE_CLEANUP_FUNC_PTR clean_f) 94 sm->clean = clean_f; 98 int STORE_method_set_generate_function(STORE_METHOD *sm, STORE_GENERATE_OBJECT_FUNC_PTR generate_f) 100 sm->generate_object = generate_f; 104 int STORE_method_set_get_function(STORE_METHOD *sm, STORE_GET_OBJECT_FUNC_PTR get_f) 106 sm->get_object = get_f; 110 int STORE_method_set_store_function(STORE_METHOD *sm, STORE_STORE_OBJECT_FUNC_PTR store_f) 112 sm->store_object = store_f [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap.c | 37 static int eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount, 40 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp); 42 static struct wpabuf * eap_sm_buildSuccess(struct eap_sm *sm, u8 id); 43 static struct wpabuf * eap_sm_buildFailure(struct eap_sm *sm, u8 id); 44 static int eap_sm_nextId(struct eap_sm *sm, int id); 45 static void eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list, 47 static EapType eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor); 48 static int eap_sm_Policy_getDecision(struct eap_sm *sm); 49 static Boolean eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method); 87 * @sm: Pointer to EAP state machine allocated with eap_server_sm_init( 1204 struct eap_sm *sm; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eapol_supp/ |
eapol_supp_sm.c | 188 static void eapol_sm_txLogoff(struct eapol_sm *sm); 189 static void eapol_sm_txStart(struct eapol_sm *sm); 190 static void eapol_sm_processKey(struct eapol_sm *sm); 191 static void eapol_sm_getSuppRsp(struct eapol_sm *sm); 192 static void eapol_sm_txSuppRsp(struct eapol_sm *sm); 193 static void eapol_sm_abortSupp(struct eapol_sm *sm); 194 static void eapol_sm_abort_cached(struct eapol_sm *sm); 202 struct eapol_sm *sm = timeout_ctx; local 204 if (sm->authWhile > 0) { 205 sm->authWhile-- 1626 struct eapol_sm *sm = ctx; local 1633 struct eapol_sm *sm = ctx; local 1643 struct eapol_sm *sm = ctx; local 1673 struct eapol_sm *sm = ctx; local 1710 struct eapol_sm *sm = ctx; local 1724 struct eapol_sm *sm = ctx; local 1739 struct eapol_sm *sm = ctx; local 1750 struct eapol_sm *sm = ctx; local 1763 struct eapol_sm *sm = ctx; local 1780 struct eapol_sm *sm = ctx; local 1815 struct eapol_sm *sm; local [all...] |
eapol_supp_sm.h | 225 void eapol_sm_deinit(struct eapol_sm *sm); 226 void eapol_sm_step(struct eapol_sm *sm); 227 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, 229 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen); 230 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, 232 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, 234 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm); 235 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled); 236 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid); 237 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap.c | 42 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, 44 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id); 45 static void eap_sm_processIdentity(struct eap_sm *sm, 47 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req); 49 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req); 57 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) 59 return sm->eapol_cb->get_bool(sm->eapol_ctx, var); 63 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, 66 sm->eapol_cb->set_bool(sm->eapol_ctx, var, value) 1175 struct eap_sm *sm; local [all...] |
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...] |
/external/wpa_supplicant/ |
eapol_sm.c | 188 static void eapol_sm_txLogoff(struct eapol_sm *sm); 189 static void eapol_sm_txStart(struct eapol_sm *sm); 190 static void eapol_sm_processKey(struct eapol_sm *sm); 191 static void eapol_sm_getSuppRsp(struct eapol_sm *sm); 192 static void eapol_sm_txSuppRsp(struct eapol_sm *sm); 193 static void eapol_sm_abortSupp(struct eapol_sm *sm); 194 static void eapol_sm_abort_cached(struct eapol_sm *sm); 202 struct eapol_sm *sm = timeout_ctx; local 204 if (sm->authWhile > 0) { 205 sm->authWhile-- 1559 struct eapol_sm *sm = ctx; local 1566 struct eapol_sm *sm = ctx; local 1579 struct eapol_sm *sm = ctx; local 1609 struct eapol_sm *sm = ctx; local 1646 struct eapol_sm *sm = ctx; local 1660 struct eapol_sm *sm = ctx; local 1673 struct eapol_sm *sm = ctx; local 1682 struct eapol_sm *sm = ctx; local 1692 struct eapol_sm *sm = ctx; local 1729 struct eapol_sm *sm; local [all...] |
eapol_sm.h | 207 void eapol_sm_deinit(struct eapol_sm *sm); 208 void eapol_sm_step(struct eapol_sm *sm); 209 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, 211 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen); 212 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, 214 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, 216 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm); 217 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled); 218 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid); 219 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) [all...] |
eap.c | 41 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, 43 static u8 * eap_sm_buildNak(struct eap_sm *sm, int id, size_t *len); 44 static void eap_sm_processIdentity(struct eap_sm *sm, const u8 *req); 45 static void eap_sm_processNotify(struct eap_sm *sm, const u8 *req); 47 static void eap_sm_parseEapReq(struct eap_sm *sm, const u8 *req, size_t len); 55 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) 57 return sm->eapol_cb->get_bool(sm->eapol_ctx, var); 61 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, 64 sm->eapol_cb->set_bool(sm->eapol_ctx, var, value) 1169 struct eap_sm *sm; local [all...] |
preauth.c | 41 * @sm: Pointer to WPA state machine data from wpa_sm_init() 43 void pmksa_candidate_free(struct wpa_sm *sm) 47 if (sm == NULL) 50 entry = sm->pmksa_candidates; 51 sm->pmksa_candidates = NULL; 65 struct wpa_sm *sm = ctx; local 70 if (sm->preauth_eapol == NULL || 71 os_memcmp(sm->preauth_bssid, "\x00\x00\x00\x00\x00\x00", 73 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) { 80 eapol_sm_rx_eapol(sm->preauth_eapol, src_addr, buf, len) 87 struct wpa_sm *sm = ctx; local 128 struct wpa_sm *sm = eloop_ctx; local 140 struct wpa_sm *sm = ctx; local [all...] |
preauth.h | 22 void pmksa_candidate_free(struct wpa_sm *sm); 26 static inline void pmksa_candidate_free(struct wpa_sm *sm) 35 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, 37 void rsn_preauth_deinit(struct wpa_sm *sm); 38 void rsn_preauth_scan_results(struct wpa_sm *sm, 40 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, 42 void rsn_preauth_candidate_process(struct wpa_sm *sm); 43 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, 45 int rsn_preauth_in_progress(struct wpa_sm *sm); 49 static inline void rsn_preauth_candidate_process(struct wpa_sm *sm) [all...] |
state_machine.h | 39 static void sm_ ## machine ## _ ## state ## _Enter(STATE_MACHINE_DATA *sm, \ 53 if (!global || sm->machine ## _state != machine ## _ ## state) { \ 54 sm->changed = TRUE; \ 58 sm->machine ## _state = machine ## _ ## state; 72 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 73 sm->changed = TRUE; \ 77 sm->data ## _ ## state = machine ## _ ## _state; 90 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 91 sm->changed = TRUE; \ 96 sm->data ## _ ## state = machine ## _ ## _state [all...] |
eap.h | 242 void eap_sm_deinit(struct eap_sm *sm); 243 int eap_sm_step(struct eap_sm *sm); 244 void eap_sm_abort(struct eap_sm *sm); 245 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, 247 u8 * eap_sm_buildIdentity(struct eap_sm *sm, int id, size_t *len, 249 void eap_sm_request_identity(struct eap_sm *sm); 250 void eap_sm_request_password(struct eap_sm *sm); 251 void eap_sm_request_new_password(struct eap_sm *sm); 252 void eap_sm_request_pin(struct eap_sm *sm); 253 void eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len) [all...] |
wpa.h | 112 void wpa_sm_deinit(struct wpa_sm *sm); 113 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid); 114 void wpa_sm_notify_disassoc(struct wpa_sm *sm); 115 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len); 116 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm); 117 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth); 118 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx); 119 void wpa_sm_set_config(struct wpa_sm *sm, struct wpa_ssid *config); 120 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr); 121 void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname [all...] |
wpa_i.h | 139 static inline void wpa_sm_set_state(struct wpa_sm *sm, wpa_states state) 141 sm->ctx->set_state(sm->ctx->ctx, state); 144 static inline wpa_states wpa_sm_get_state(struct wpa_sm *sm) 146 return sm->ctx->get_state(sm->ctx->ctx); 149 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) 151 sm->ctx->deauthenticate(sm->ctx->ctx, reason_code); 154 static inline void wpa_sm_disassociate(struct wpa_sm *sm, int reason_code [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
state_machine.h | 39 static void sm_ ## machine ## _ ## state ## _Enter(STATE_MACHINE_DATA *sm, \ 53 if (!global || sm->machine ## _state != machine ## _ ## state) { \ 54 sm->changed = TRUE; \ 58 sm->machine ## _state = machine ## _ ## state; 72 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 73 sm->changed = TRUE; \ 77 sm->data ## _ ## state = machine ## _ ## _state; 90 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 91 sm->changed = TRUE; \ 96 sm->data ## _ ## state = machine ## _ ## _state [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...] |
/frameworks/base/libs/rs/ |
rsSimpleMesh.cpp | 120 SimpleMesh *sm = new SimpleMesh(rsc); local 121 sm->incUserRef(); 123 sm->mIndexType.set((const Type *)idx); 124 sm->mPrimitiveType.set((const Type *)prim); 126 sm->mVertexTypeCount = vtxCount; 127 sm->mVertexTypes = new ObjectBaseRef<const Type>[vtxCount]; 128 sm->mVertexBuffers = new ObjectBaseRef<Allocation>[vtxCount]; 130 sm->mVertexTypes[ct].set((const Type *)vtx[ct]); 133 sm->mPrimitive = (RsPrimitive)primType; 134 switch(sm->mPrimitive) 147 SimpleMesh *sm = static_cast<SimpleMesh *>(mv); local 155 SimpleMesh *sm = static_cast<SimpleMesh *>(mv); local 161 SimpleMesh *sm = static_cast<SimpleMesh *>(mv); local [all...] |