/external/wpa_supplicant_8/src/eap_peer/ |
eap.h | 337 void eap_peer_sm_deinit(struct eap_sm *sm); 338 int eap_peer_sm_step(struct eap_sm *sm); 339 void eap_sm_abort(struct eap_sm *sm); 340 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, 342 const char * eap_sm_get_method_name(struct eap_sm *sm); 343 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted); 344 void eap_sm_request_identity(struct eap_sm *sm); 345 void eap_sm_request_password(struct eap_sm *sm); 346 void eap_sm_request_new_password(struct eap_sm *sm); 347 void eap_sm_request_pin(struct eap_sm *sm); [all...] |
eap_i.h | 84 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 92 void * (*init)(struct eap_sm *sm); 96 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 101 void (*deinit)(struct eap_sm *sm, void *priv); 105 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 118 struct wpabuf * (*process)(struct eap_sm *sm, void *priv, 124 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 128 Boolean (*isKeyAvailable)(struct eap_sm *sm, void *priv); 132 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 141 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); 32 static void * eap_tls_init(struct eap_sm *sm) 35 struct eap_peer_config *config = eap_get_config(sm); 37 ((sm->init_phase2 ? config->private_key2 : config->private_key) 39 (sm->init_phase2 ? config->engine2 : config->engine) == 0)) { 48 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 : 49 sm->ssl_ctx; 51 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_TLS)) [all...] |
eap_otp.c | 15 static void * eap_otp_init(struct eap_sm *sm) 23 static void eap_otp_deinit(struct eap_sm *sm, void *priv) 28 static struct wpabuf * eap_otp_process(struct eap_sm *sm, void *priv, 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);
|
/external/wpa_supplicant_8/src/ap/ |
wpa_auth.c | 36 #define STATE_MACHINE_ADDR sm->addr 40 static int wpa_sm_step(struct wpa_state_machine *sm); 44 static int wpa_aead_decrypt(struct wpa_state_machine *sm, struct wpa_ptk *ptk, 46 static struct wpabuf * fils_prepare_plainbuf(struct wpa_state_machine *sm, 52 static void wpa_request_new_ptk(struct wpa_state_machine *sm); 57 static int wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce, 66 static u8 * ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos); 180 int (*cb)(struct wpa_state_machine *sm, void *ctx), 315 struct wpa_state_machine *sm = timeout_ctx; local 317 wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG, "rekeying PTK") 593 struct wpa_state_machine *sm; local 1404 struct wpa_state_machine *sm = timeout_ctx; local 4020 struct wpa_state_machine *sm = eloop_ctx; local [all...] |
/external/u-boot/arch/arm/mach-meson/ |
Makefile | 5 obj-y += board.o sm.o eth.o
|
/external/libcxx/test/std/re/re.submatch/re.submatch.op/ |
stream.pass.cpp | 28 typedef std::sub_match<typename string::const_iterator> SM; 30 SM sm; local 31 sm.first = s.begin(); 32 sm.second = s.end(); 33 sm.matched = true; 35 os << sm; local
|
/external/wpa_supplicant_8/src/rsn_supp/ |
wpa.h | 121 void wpa_sm_deinit(struct wpa_sm *sm); 122 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid); 123 void wpa_sm_notify_disassoc(struct wpa_sm *sm); 124 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, 126 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm); 127 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth); 128 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx); 129 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config); 130 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr); 131 void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname [all...] |
tdls.c | 86 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer); 87 static void wpa_tdls_disable_peer_link(struct wpa_sm *sm, 89 static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr, 160 static int wpa_tdls_get_privacy(struct wpa_sm *sm) 167 return sm->pairwise_cipher != WPA_CIPHER_NONE; 178 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) 180 if (wpa_sm_set_key(sm, WPA_ALG_NONE, peer->addr, 191 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) 224 sm->pairwise_cipher); 230 if (wpa_sm_set_key(sm, alg, peer->addr, -1, 1 336 struct wpa_sm *sm = eloop_ctx; local 634 struct wpa_sm *sm = eloop_ctx; local 2738 struct wpa_sm *sm = ctx; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
sparse_io.c | 60 static void free_sparse_blocks(struct sparse_map *sm) 64 for (i = 0; i < sm->blocks_count; ++i) 65 free(sm->blocks[i]); 66 free(sm->blocks); 67 sm->blocks = NULL; 73 struct sparse_map *sm = priv; local 76 if (!nr_blocks || len % sm->block_size) 79 return sparse_write_blk(sm->channel, block, nr_blocks, data); 83 struct sparse_map *sm, io_channel io) 103 sm->block_size = sparse_file_block_size(sparse_file) 131 struct sparse_map *sm = calloc(1, sizeof(*sm)); local 305 struct sparse_map *sm = channel->private_data; local 342 struct sparse_map *sm = channel->private_data; local 384 struct sparse_map *sm = channel->private_data; local 424 struct sparse_map *sm = channel->private_data; local 469 struct sparse_map *sm = channel->private_data; local [all...] |
/external/openssh/ |
ed25519.c | 14 static void get_hram(unsigned char *hram, const unsigned char *sm, const unsigned char *pk, unsigned char *playground, unsigned long long smlen) 18 for (i = 0;i < 32;++i) playground[i] = sm[i]; 20 for (i = 64;i < smlen;++i) playground[i] = sm[i]; 52 unsigned char *sm,unsigned long long *smlen, 73 sm[64 + i] = m[i]; 75 sm[32 + i] = extsk[32+i]; 77 crypto_hash_sha512(hmg, sm+32, mlen+32); /* Generate k as h(extsk[32],...,extsk[63],m) */ 86 sm[i] = r[i]; 88 get_hram(hram, sm, sk+32, sm, mlen+64) [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_upnp.h | 42 void upnp_wps_device_deinit(struct upnp_wps_device_sm *sm, void *priv); 44 int upnp_wps_device_send_wlan_event(struct upnp_wps_device_sm *sm, 48 int upnp_wps_subscribers(struct upnp_wps_device_sm *sm); 49 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 152 struct subscription * subscription_start(struct upnp_wps_device_sm *sm, 154 struct subscription * subscription_renew(struct upnp_wps_device_sm *sm, 157 struct subscription * subscription_find(struct upnp_wps_device_sm *sm, 165 int advertisement_state_machine_start(struct upnp_wps_device_sm *sm); 166 void advertisement_state_machine_stop(struct upnp_wps_device_sm *sm, 168 void ssdp_listener_stop(struct upnp_wps_device_sm *sm); 169 int ssdp_listener_start(struct upnp_wps_device_sm *sm); 173 int ssdp_open_multicast(struct upnp_wps_device_sm *sm); 176 int web_listener_start(struct upnp_wps_device_sm *sm); [all...] |
wps_upnp.c | 454 * @sm: WPS UPnP state machine from upnp_wps_device_init() 457 * subscribed UPnP control points. sm->wlanevent must have been set with the 460 static void upnp_wps_device_send_event(struct upnp_wps_device_sm *sm) 473 if (dl_list_empty(&sm->subscriptions)) { 479 if (now.sec != sm->last_event_sec) { 480 sm->last_event_sec = now.sec; 481 sm->num_events_in_sec = 1; 483 sm->num_events_in_sec++; 491 if (sm->num_events_in_sec > MAX_EVENTS_PER_SEC && 492 sm->wlanevent_type = 1138 struct upnp_wps_device_sm *sm; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_tls_common.h | 77 int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data, 79 void eap_server_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data); 80 u8 * eap_server_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data, 83 u8 * eap_server_tls_derive_session_id(struct eap_sm *sm, 89 int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data); 90 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm, 93 int eap_server_tls_process(struct eap_sm *sm, struct eap_ssl_data *data, 95 int (*proc_version)(struct eap_sm *sm, void *priv, 97 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_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_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, 272 static void eap_fast_derive_key_auth(struct eap_sm *sm, 281 sks = eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, 302 static void eap_fast_derive_key_provisioning(struct eap_sm *sm, 307 eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, 333 static int eap_fast_get_phase2_key(struct eap_sm *sm, 351 if ((key = data->phase2_method->getKey(sm, data->phase2_priv, 378 static int eap_fast_update_icmk(struct eap_sm *sm, struct eap_fast_data *data [all...] |
eap_server_ttls.c | 24 static void eap_ttls_reset(struct eap_sm *sm, void *priv); 79 static void eap_ttls_valid_session(struct eap_sm *sm, 84 if (!sm->tls_session_lifetime) 87 buf = wpabuf_alloc(1 + 1 + sm->identity_len); 91 if (sm->identity) { 94 if (sm->identity_len <= 255) 95 id_len = sm->identity_len; 99 wpabuf_put_data(buf, sm->identity, id_len); 331 static u8 * eap_ttls_implicit_challenge(struct eap_sm *sm, 334 return eap_server_tls_derive_key(sm, &data->ssl, "ttls challenge" [all...] |
eap_server_peap.c | 29 static void eap_peap_reset(struct eap_sm *sm, void *priv); 103 static void eap_peap_valid_session(struct eap_sm *sm, 108 if (!sm->tls_session_lifetime || 109 tls_connection_resumed(sm->ssl_ctx, data->ssl.conn)) 112 buf = wpabuf_alloc(1 + 1 + sm->identity_len); 116 if (sm->identity) { 119 if (sm->identity_len <= 255) 120 id_len = sm->identity_len; 124 wpabuf_put_data(buf, sm->identity, id_len); 132 static void eap_peap_req_success(struct eap_sm *sm, [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/icu/android_icu4j/src/main/java/android/icu/util/ |
STZInfo.java | 16 void setStart(int sm, int sdwm, int sdw, int st, int sdm, boolean sa) { 17 this.sm = sm; 38 if (sm != -1) { 40 stz.setStartRule(sm, sdwm, sdw, st); 42 stz.setStartRule(sm, sdm, st); 44 stz.setStartRule(sm, sdm, sdw, st, sa); 62 if (sm != -1) { 64 stz.setStartRule(sm, sdwm, sdw, st); 66 stz.setStartRule(sm, sdm, st) 83 int sm = -1, sdwm, sdw, st, sdm; field in class:STZInfo [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
STZInfo.java | 15 void setStart(int sm, int sdwm, int sdw, int st, int sdm, boolean sa) { 16 this.sm = sm; 37 if (sm != -1) { 39 stz.setStartRule(sm, sdwm, sdw, st); 41 stz.setStartRule(sm, sdm, st); 43 stz.setStartRule(sm, sdm, sdw, st, sa); 61 if (sm != -1) { 63 stz.setStartRule(sm, sdwm, sdw, st); 65 stz.setStartRule(sm, sdm, st) 82 int sm = -1, sdwm, sdw, st, sdm; field in class:STZInfo [all...] |
/external/ltp/testcases/network/tcp_cmds/ |
Makefile.inc | 25 MAKE_DEPS := $(GENERATE_FILE_DIR)/datafiles/bin.sm
|
/external/ltp/testcases/kernel/containers/sysvipc/ |
sem_comm.c | 61 struct sembuf sm; local 79 sm.sem_num = 0; 80 sm.sem_op = -1; 81 sm.sem_flg = IPC_NOWAIT; 82 if (semop(id, &sm, 1) == -1) { 91 sm.sem_op = 1; 92 semop(id, &sm, 1); 101 struct sembuf sm; local 123 sm.sem_num = 0; 124 sm.sem_op = -1 [all...] |