Home
last modified time | relevance | path

Searched refs:sess (Results 1 - 25 of 133) sorted by relevance

123456

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Deap_eke_common.c303 int eap_eke_derive_key(struct eap_eke_session *sess, in eap_eke_derive_key() argument
314 os_memset(zeros, 0, sess->prf_len); in eap_eke_derive_key()
315 if (eap_eke_prf(sess->prf, zeros, sess->prf_len, in eap_eke_derive_key()
319 temp, sess->prf_len); in eap_eke_derive_key()
329 if (eap_eke_prfplus(sess->prf, temp, sess->prf_len, in eap_eke_derive_key()
342 int eap_eke_dhcomp(struct eap_eke_session *sess, const u8 *key, const u8 *dhpub, in eap_eke_dhcomp() argument
349 dh_len = eap_eke_dh_len(sess->dhgroup); in eap_eke_dhcomp()
359 if (sess in eap_eke_dhcomp()
377 eap_eke_shared_secret(struct eap_eke_session *sess, const u8 *key, const u8 *dhpriv, const u8 *peer_dhcomp) eap_eke_shared_secret() argument
422 eap_eke_derive_ke_ki(struct eap_eke_session *sess, const u8 *id_s, size_t id_s_len, const u8 *id_p, size_t id_p_len) eap_eke_derive_ke_ki() argument
476 eap_eke_derive_ka(struct eap_eke_session *sess, const u8 *id_s, size_t id_s_len, const u8 *id_p, size_t id_p_len, const u8 *nonce_p, const u8 *nonce_s) eap_eke_derive_ka() argument
521 eap_eke_derive_msk(struct eap_eke_session *sess, const u8 *id_s, size_t id_s_len, const u8 *id_p, size_t id_p_len, const u8 *nonce_p, const u8 *nonce_s, u8 *msk, u8 *emsk) eap_eke_derive_msk() argument
583 eap_eke_prot(struct eap_eke_session *sess, const u8 *data, size_t data_len, u8 *prot, size_t *prot_len) eap_eke_prot() argument
637 eap_eke_decrypt_prot(struct eap_eke_session *sess, const u8 *prot, size_t prot_len, u8 *data, size_t *data_len) eap_eke_decrypt_prot() argument
686 eap_eke_auth(struct eap_eke_session *sess, const char *label, const struct wpabuf *msgs, u8 *auth) eap_eke_auth() argument
699 eap_eke_session_init(struct eap_eke_session *sess, u8 dhgroup, u8 encr, u8 prf, u8 mac) eap_eke_session_init() argument
722 eap_eke_session_clean(struct eap_eke_session *sess) eap_eke_session_clean() argument
[all...]
H A Deap_eke_common.h81 int eap_eke_session_init(struct eap_eke_session *sess, u8 dhgroup, u8 encr,
83 void eap_eke_session_clean(struct eap_eke_session *sess);
85 int eap_eke_derive_key(struct eap_eke_session *sess,
89 int eap_eke_dhcomp(struct eap_eke_session *sess, const u8 *key, const u8 *dhpub,
91 int eap_eke_shared_secret(struct eap_eke_session *sess, const u8 *key,
93 int eap_eke_derive_ke_ki(struct eap_eke_session *sess,
96 int eap_eke_derive_ka(struct eap_eke_session *sess,
100 int eap_eke_derive_msk(struct eap_eke_session *sess,
105 int eap_eke_prot(struct eap_eke_session *sess,
108 int eap_eke_decrypt_prot(struct eap_eke_session *sess,
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Deap_eke_common.c303 int eap_eke_derive_key(struct eap_eke_session *sess, in eap_eke_derive_key() argument
314 os_memset(zeros, 0, sess->prf_len); in eap_eke_derive_key()
315 if (eap_eke_prf(sess->prf, zeros, sess->prf_len, in eap_eke_derive_key()
319 temp, sess->prf_len); in eap_eke_derive_key()
329 if (eap_eke_prfplus(sess->prf, temp, sess->prf_len, in eap_eke_derive_key()
342 int eap_eke_dhcomp(struct eap_eke_session *sess, const u8 *key, const u8 *dhpub, in eap_eke_dhcomp() argument
349 dh_len = eap_eke_dh_len(sess->dhgroup); in eap_eke_dhcomp()
359 if (sess in eap_eke_dhcomp()
377 eap_eke_shared_secret(struct eap_eke_session *sess, const u8 *key, const u8 *dhpriv, const u8 *peer_dhcomp) eap_eke_shared_secret() argument
422 eap_eke_derive_ke_ki(struct eap_eke_session *sess, const u8 *id_s, size_t id_s_len, const u8 *id_p, size_t id_p_len) eap_eke_derive_ke_ki() argument
476 eap_eke_derive_ka(struct eap_eke_session *sess, const u8 *id_s, size_t id_s_len, const u8 *id_p, size_t id_p_len, const u8 *nonce_p, const u8 *nonce_s) eap_eke_derive_ka() argument
521 eap_eke_derive_msk(struct eap_eke_session *sess, const u8 *id_s, size_t id_s_len, const u8 *id_p, size_t id_p_len, const u8 *nonce_p, const u8 *nonce_s, u8 *msk, u8 *emsk) eap_eke_derive_msk() argument
583 eap_eke_prot(struct eap_eke_session *sess, const u8 *data, size_t data_len, u8 *prot, size_t *prot_len) eap_eke_prot() argument
637 eap_eke_decrypt_prot(struct eap_eke_session *sess, const u8 *prot, size_t prot_len, u8 *data, size_t *data_len) eap_eke_decrypt_prot() argument
686 eap_eke_auth(struct eap_eke_session *sess, const char *label, const struct wpabuf *msgs, u8 *auth) eap_eke_auth() argument
699 eap_eke_session_init(struct eap_eke_session *sess, u8 dhgroup, u8 encr, u8 prf, u8 mac) eap_eke_session_init() argument
722 eap_eke_session_clean(struct eap_eke_session *sess) eap_eke_session_clean() argument
[all...]
H A Deap_eke_common.h81 int eap_eke_session_init(struct eap_eke_session *sess, u8 dhgroup, u8 encr,
83 void eap_eke_session_clean(struct eap_eke_session *sess);
85 int eap_eke_derive_key(struct eap_eke_session *sess,
89 int eap_eke_dhcomp(struct eap_eke_session *sess, const u8 *key, const u8 *dhpub,
91 int eap_eke_shared_secret(struct eap_eke_session *sess, const u8 *key,
93 int eap_eke_derive_ke_ki(struct eap_eke_session *sess,
96 int eap_eke_derive_ka(struct eap_eke_session *sess,
100 int eap_eke_derive_msk(struct eap_eke_session *sess,
105 int eap_eke_prot(struct eap_eke_session *sess,
108 int eap_eke_decrypt_prot(struct eap_eke_session *sess,
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
H A Dradius_server.c427 void srv_log(struct radius_session *sess, const char *fmt, ...)
430 void srv_log(struct radius_session *sess, const char *fmt, ...) in srv_log() argument
447 RADIUS_DEBUG("[0x%x %s] %s", sess->sess_id, sess->nas_ip, buf); in srv_log()
450 if (sess->server->db) { in srv_log()
457 sess->sess_id, sess->nas_ip, in srv_log()
458 sess->username, buf); in srv_log()
460 if (sqlite3_exec(sess->server->db, sql, NULL, NULL, in srv_log()
463 sqlite3_errmsg(sess in srv_log()
516 struct radius_session *sess = client->sessions; radius_server_get_session() local
529 radius_server_session_free(struct radius_server_data *data, struct radius_session *sess) radius_server_session_free() argument
545 radius_server_session_remove(struct radius_server_data *data, struct radius_session *sess) radius_server_session_remove() argument
575 struct radius_session *sess = timeout_ctx; radius_server_session_remove_timeout() local
584 struct radius_session *sess = timeout_ctx; radius_server_session_timeout() local
595 struct radius_session *sess; radius_server_new_session() local
620 radius_server_testing_options_tls(struct radius_session *sess, const char *tls, struct eap_config *eap_conf) radius_server_testing_options_tls() argument
666 radius_server_testing_options(struct radius_session *sess, struct eap_config *eap_conf) radius_server_testing_options() argument
709 struct radius_session *sess; radius_server_get_new_session() local
832 radius_srv_hs20_t_c_pending(struct radius_session *sess) radius_srv_hs20_t_c_pending() argument
872 radius_server_add_session(struct radius_session *sess) radius_server_add_session() argument
902 db_update_last_msk(struct radius_session *sess, const char *msk) db_update_last_msk() argument
952 radius_server_is_sim_method(struct radius_session *sess) radius_server_is_sim_method() argument
1009 radius_server_sim_provisioning_session(struct radius_session *sess, const u8 *hash) radius_server_sim_provisioning_session() argument
1062 radius_server_encapsulate_eap(struct radius_server_data *data, struct radius_client *client, struct radius_session *sess, struct radius_msg *request) radius_server_encapsulate_eap() argument
1323 radius_server_macacl(struct radius_server_data *data, struct radius_client *client, struct radius_session *sess, struct radius_msg *request) radius_server_macacl() argument
1464 radius_server_hs20_t_c_check(struct radius_session *sess, struct radius_msg *msg) radius_server_hs20_t_c_check() argument
1520 struct radius_session *sess; radius_server_request() local
2705 struct radius_session *sess = ctx; radius_server_get_eap_user() local
2729 struct radius_session *sess = ctx; radius_server_get_eap_req_id_text() local
2738 struct radius_session *sess = ctx; radius_server_log_msg() local
2747 struct radius_session *sess = ctx; radius_server_get_erp_domain() local
2757 struct radius_session *sess = ctx; radius_server_erp_get_key() local
2766 struct radius_session *sess = ctx; radius_server_erp_add_key() local
2801 struct radius_session *s, *sess = NULL; radius_server_eap_pending_cb() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/
H A Dradius_server.c284 void srv_log(struct radius_session *sess, const char *fmt, ...)
287 void srv_log(struct radius_session *sess, const char *fmt, ...) in srv_log() argument
304 RADIUS_DEBUG("[0x%x %s] %s", sess->sess_id, sess->nas_ip, buf); in srv_log()
307 if (sess->server->db) { in srv_log()
314 sess->sess_id, sess->nas_ip, in srv_log()
315 sess->username, buf); in srv_log()
317 if (sqlite3_exec(sess->server->db, sql, NULL, NULL, in srv_log()
320 sqlite3_errmsg(sess in srv_log()
373 struct radius_session *sess = client->sessions; radius_server_get_session() local
386 radius_server_session_free(struct radius_server_data *data, struct radius_session *sess) radius_server_session_free() argument
402 radius_server_session_remove(struct radius_server_data *data, struct radius_session *sess) radius_server_session_remove() argument
432 struct radius_session *sess = timeout_ctx; radius_server_session_remove_timeout() local
441 struct radius_session *sess = timeout_ctx; radius_server_session_timeout() local
452 struct radius_session *sess; radius_server_new_session() local
477 radius_server_testing_options_tls(struct radius_session *sess, const char *tls, struct eap_session_data *eap_conf) radius_server_testing_options_tls() argument
523 radius_server_testing_options(struct radius_session *sess, struct eap_session_data *eap_conf) radius_server_testing_options() argument
566 struct radius_session *sess; radius_server_get_new_session() local
665 radius_srv_hs20_t_c_pending(struct radius_session *sess) radius_srv_hs20_t_c_pending() argument
705 radius_server_add_session(struct radius_session *sess) radius_server_add_session() argument
735 db_update_last_msk(struct radius_session *sess, const char *msk) db_update_last_msk() argument
785 radius_server_is_sim_method(struct radius_session *sess) radius_server_is_sim_method() argument
842 radius_server_sim_provisioning_session(struct radius_session *sess, const u8 *hash) radius_server_sim_provisioning_session() argument
895 radius_server_encapsulate_eap(struct radius_server_data *data, struct radius_client *client, struct radius_session *sess, struct radius_msg *request) radius_server_encapsulate_eap() argument
1156 radius_server_macacl(struct radius_server_data *data, struct radius_client *client, struct radius_session *sess, struct radius_msg *request) radius_server_macacl() argument
1297 radius_server_hs20_t_c_check(struct radius_session *sess, struct radius_msg *msg) radius_server_hs20_t_c_check() argument
1353 struct radius_session *sess; radius_server_request() local
2508 struct radius_session *sess = ctx; radius_server_get_eap_user() local
2532 struct radius_session *sess = ctx; radius_server_get_eap_req_id_text() local
2541 struct radius_session *sess = ctx; radius_server_log_msg() local
2550 struct radius_session *sess = ctx; radius_server_get_erp_domain() local
2560 struct radius_session *sess = ctx; radius_server_erp_get_key() local
2569 struct radius_session *sess = ctx; radius_server_erp_add_key() local
2604 struct radius_session *s, *sess = NULL; radius_server_eap_pending_cb() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/modes/
H A Docb128.c233 memset(&ctx->sess, 0, sizeof(ctx->sess)); in CRYPTO_ocb128_setiv()
255 ocb_block_lshift(stretch + (bottom / 8), shift, ctx->sess.offset.c); in CRYPTO_ocb128_setiv()
258 ctx->sess.offset.c[15] |= in CRYPTO_ocb128_setiv()
277 all_num_blocks = num_blocks + ctx->sess.blocks_hashed; in CRYPTO_ocb128_aad()
280 for (i = ctx->sess.blocks_hashed + 1; i <= all_num_blocks; i++) { in CRYPTO_ocb128_aad()
287 ocb_block16_xor(&ctx->sess.offset_aad, lookup, &ctx->sess.offset_aad); in CRYPTO_ocb128_aad()
293 ocb_block16_xor(&ctx->sess.offset_aad, &tmp, &tmp); in CRYPTO_ocb128_aad()
295 ocb_block16_xor(&tmp, &ctx->sess in CRYPTO_ocb128_aad()
[all...]
/third_party/openssl/crypto/modes/
H A Docb128.c233 memset(&ctx->sess, 0, sizeof(ctx->sess)); in CRYPTO_ocb128_setiv()
255 ocb_block_lshift(stretch + (bottom / 8), shift, ctx->sess.offset.c); in CRYPTO_ocb128_setiv()
258 ctx->sess.offset.c[15] |= in CRYPTO_ocb128_setiv()
277 all_num_blocks = num_blocks + ctx->sess.blocks_hashed; in CRYPTO_ocb128_aad()
280 for (i = ctx->sess.blocks_hashed + 1; i <= all_num_blocks; i++) { in CRYPTO_ocb128_aad()
287 ocb_block16_xor(&ctx->sess.offset_aad, lookup, &ctx->sess.offset_aad); in CRYPTO_ocb128_aad()
293 ocb_block16_xor(&ctx->sess.offset_aad, &tmp, &tmp); in CRYPTO_ocb128_aad()
295 ocb_block16_xor(&tmp, &ctx->sess in CRYPTO_ocb128_aad()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server_eke.c29 struct eap_eke_session sess; member
104 eap_eke_session_clean(&data->sess); in eap_eke_reset()
253 if (eap_eke_derive_key(&data->sess, sm->user->password, in eap_eke_build_commit()
262 msg = eap_eke_build_msg(data, id, data->sess.dhcomp_len, in eap_eke_build_commit()
277 if (eap_eke_dh_init(data->sess.dhgroup, data->dh_priv, pub) < 0) { in eap_eke_build_commit()
283 if (eap_eke_dhcomp(&data->sess, data->key, pub, in eap_eke_build_commit()
284 wpabuf_put(msg, data->sess.dhcomp_len)) in eap_eke_build_commit()
313 plen = data->sess.pnonce_ps_len + data->sess.prf_len; in eap_eke_build_confirm()
320 if (random_get_bytes(data->nonce_s, data->sess in eap_eke_build_confirm()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_eke.c29 struct eap_eke_session sess; member
104 eap_eke_session_clean(&data->sess); in eap_eke_reset()
253 if (eap_eke_derive_key(&data->sess, sm->user->password, in eap_eke_build_commit()
262 msg = eap_eke_build_msg(data, id, data->sess.dhcomp_len, in eap_eke_build_commit()
277 if (eap_eke_dh_init(data->sess.dhgroup, data->dh_priv, pub) < 0) { in eap_eke_build_commit()
283 if (eap_eke_dhcomp(&data->sess, data->key, pub, in eap_eke_build_commit()
284 wpabuf_put(msg, data->sess.dhcomp_len)) in eap_eke_build_commit()
313 plen = data->sess.pnonce_ps_len + data->sess.prf_len; in eap_eke_build_confirm()
320 if (random_get_bytes(data->nonce_s, data->sess in eap_eke_build_confirm()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
H A Deap_eke.c27 struct eap_eke_session sess; member
136 eap_eke_session_clean(&data->sess); in eap_eke_deinit()
209 eap_eke_session_clean(&data->sess); in eap_eke_build_fail()
283 if (eap_eke_session_init(&data->sess, prop[0], prop[1], prop[2], in eap_eke_process_id()
387 if (pos + data->sess.dhcomp_len > end) { in eap_eke_process_commit()
394 pos, data->sess.dhcomp_len); in eap_eke_process_commit()
396 pos += data->sess.dhcomp_len; in eap_eke_process_commit()
403 if (eap_eke_derive_key(&data->sess, password, password_len, in eap_eke_process_commit()
415 if (eap_eke_dh_init(data->sess.dhgroup, data->dh_priv, pub) < 0) { in eap_eke_process_commit()
422 if (eap_eke_shared_secret(&data->sess, ke in eap_eke_process_commit()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap_eke.c27 struct eap_eke_session sess; member
136 eap_eke_session_clean(&data->sess); in eap_eke_deinit()
209 eap_eke_session_clean(&data->sess); in eap_eke_build_fail()
283 if (eap_eke_session_init(&data->sess, prop[0], prop[1], prop[2], in eap_eke_process_id()
387 if (pos + data->sess.dhcomp_len > end) { in eap_eke_process_commit()
394 pos, data->sess.dhcomp_len); in eap_eke_process_commit()
396 pos += data->sess.dhcomp_len; in eap_eke_process_commit()
403 if (eap_eke_derive_key(&data->sess, password, password_len, in eap_eke_process_commit()
415 if (eap_eke_dh_init(data->sess.dhgroup, data->dh_priv, pub) < 0) { in eap_eke_process_commit()
422 if (eap_eke_shared_secret(&data->sess, ke in eap_eke_process_commit()
[all...]
/base/update/updateservice/frameworks/js/napi/session/src/
H A Dnapi_session.cpp82 auto sess = reinterpret_cast<NapiSession *>(data); in CompleteWork() local
83 PARAM_CHECK(sess != nullptr && sess->GetNapiClient() != nullptr, return, "Session is null pointer"); in CompleteWork()
84 sess->CompleteWork(env, status); in CompleteWork()
86 BaseClient *client = sess->GetNapiClient(); in CompleteWork()
88 client->RemoveSession(sess->GetSessionId()); in CompleteWork()
96 auto sess = reinterpret_cast<NapiSession *>(data); in ExecuteWork() local
97 PARAM_CHECK(sess != nullptr, return, "sess is null"); in ExecuteWork()
98 sess in ExecuteWork()
[all...]
/base/update/updateservice/frameworks/js/napi/update/common/src/
H A Diupdater.cpp44 std::shared_ptr<BaseSession> sess = std::make_shared<UpdateListener>(this, sessionParams, argc, false); in On() local
45 PARAM_CHECK_NAPI_CALL(env, sess != nullptr, return nullptr, "Failed to create listener"); in On()
47 sessionsMgr_->AddSession(sess); in On()
48 napi_value retValue = sess->StartWork( in On()
55 PARAM_CHECK(retValue != nullptr, sessionsMgr_->RemoveSession(sess->GetSessionId()); return nullptr, in On()
111 std::shared_ptr<BaseSession> sess = nullptr; in StartSession() local
113 sess = std::make_shared<UpdateAsyncession>(this, sessionParams, argc); in StartSession()
115 sess = std::make_shared<UpdatePromiseSession>(this, sessionParams, argc); in StartSession()
117 PARAM_CHECK_NAPI_CALL(env, sess != nullptr, return nullptr, "Failed to create update session"); in StartSession()
118 sessionsMgr_->AddSession(sess); in StartSession()
[all...]
/third_party/libwebsockets/lib/tls/openssl/
H A Dopenssl-session.c211 lws_tls_session_new_cb(SSL *ssl, SSL_SESSION *sess) in lws_tls_session_new_cb() argument
238 ttl = SSL_SESSION_get_timeout(sess); in lws_tls_session_new_cb()
277 ts->session = sess; in lws_tls_session_new_cb()
283 sess, wsi->lc.gutag, disposition, tag, ttl, vh->name, in lws_tls_session_new_cb()
320 SSL_SESSION *sess; in lws_sess_cache_synth_cb() local
325 sess = SSL_get1_session(tls->ssl); in lws_sess_cache_synth_cb()
326 if (!sess) in lws_sess_cache_synth_cb()
329 if (!SSL_SESSION_is_resumable(sess) || /* not worth caching, or... */ in lws_sess_cache_synth_cb()
330 !lws_tls_session_new_cb(tls->ssl, sess)) { /* ...cb didn't keep it */ in lws_sess_cache_synth_cb()
336 SSL_SESSION_free(sess); in lws_sess_cache_synth_cb()
424 SSL_SESSION *sess = NULL; /* allow it to "bail" early */ lws_tls_session_dump_load() local
[all...]
/third_party/node/deps/openssl/openssl/engines/
H A De_devcrypto.c86 static int clean_devcrypto_session(session_op_t *sess) { in clean_devcrypto_session() argument
87 if (ioctl(cfd, CIOCFSESSION, &sess->ses) < 0) { in clean_devcrypto_session()
91 memset(sess, 0, sizeof(*sess)); in clean_devcrypto_session()
106 session_op_t sess; member
214 if (cipher_ctx->sess.ses != 0 && in cipher_init()
215 clean_devcrypto_session(&cipher_ctx->sess) == 0) in cipher_init()
218 cipher_ctx->sess.cipher = cipher_d->devcryptoid; in cipher_init()
219 cipher_ctx->sess.keylen = cipher_d->keylen; in cipher_init()
220 cipher_ctx->sess in cipher_init()
428 session_op_t sess; prepare_cipher_methods() local
675 session_op_t sess; global() member
[all...]
/third_party/openssl/engines/
H A De_devcrypto.c86 static int clean_devcrypto_session(session_op_t *sess) { in clean_devcrypto_session() argument
87 if (ioctl(cfd, CIOCFSESSION, &sess->ses) < 0) { in clean_devcrypto_session()
91 memset(sess, 0, sizeof(*sess)); in clean_devcrypto_session()
106 session_op_t sess; member
214 if (cipher_ctx->sess.ses != 0 && in cipher_init()
215 clean_devcrypto_session(&cipher_ctx->sess) == 0) in cipher_init()
218 cipher_ctx->sess.cipher = cipher_d->devcryptoid; in cipher_init()
219 cipher_ctx->sess.keylen = cipher_d->keylen; in cipher_init()
220 cipher_ctx->sess in cipher_init()
428 session_op_t sess; prepare_cipher_methods() local
675 session_op_t sess; global() member
[all...]
/base/sensors/sensor/services/src/
H A Dstream_server.cpp97 SessionPtr sess = nullptr; in AddSocketPairInfo() local
114 sess = std::make_shared<StreamSession>("", serverFd, uid, pid); in AddSocketPairInfo()
115 sess->SetTokenType(tokenType); in AddSocketPairInfo()
116 if (!AddSession(sess)) { in AddSocketPairInfo()
128 bool StreamServer::AddSession(SessionPtr sess) in AddSession() argument
131 CHKPF(sess); in AddSession()
132 auto fd = sess->GetFd(); in AddSession()
137 auto pid = sess->GetPid(); in AddSession()
148 sessionsMap_[fd] = sess; in AddSession()
/base/msdp/device_status/services/native/src/
H A Ddevicestatus_service.cpp1027 SessionPtr sess = GetSession(GetClientFd(pid)); in OnRegisterCoordinationListener() local
1028 CHKPR(sess, RET_ERR); in OnRegisterCoordinationListener()
1032 event->sess = sess; in OnRegisterCoordinationListener()
1040 SessionPtr sess = GetSession(GetClientFd(pid)); in OnUnregisterCoordinationListener() local
1044 event->sess = sess; in OnUnregisterCoordinationListener()
1059 SessionPtr sess = GetSession(GetClientFd(pid)); in OnPrepareCoordination() local
1060 CHKPR(sess, RET_ERR); in OnPrepareCoordination()
1061 if (!sess in OnPrepareCoordination()
1079 SessionPtr sess = GetSession(GetClientFd(pid)); OnUnprepareCoordination() local
1092 SessionPtr sess = GetSession(GetClientFd(pid)); OnActivateCoordination() local
1106 SessionPtr sess = GetSession(GetClientFd(pid)); OnDeactivateCoordination() local
1121 SessionPtr sess = GetSession(GetClientFd(pid)); OnGetCoordinationState() local
1141 auto sess = GetSession(GetClientFd(pid)); OnAddHotAreaListener() local
1154 auto sess = GetSession(GetClientFd(pid)); OnRemoveHotAreaListener() local
[all...]
H A Dstream_server.cpp114 SessionPtr sess = nullptr; in AddSocketPairInfo() local
115 sess = std::make_shared<StreamSession>(programName, moduleType, serverFd, uid, pid); in AddSocketPairInfo()
116 sess->SetTokenType(tokenType); in AddSocketPairInfo()
117 if (!AddSession(sess)) { in AddSocketPairInfo()
125 OnConnected(sess); in AddSocketPairInfo()
206 auto sess = GetSession(fd); in OnPacket() local
207 CHKPV(sess); in OnPacket()
208 recvFun_(sess, pkt); in OnPacket()
/third_party/node/deps/openssl/openssl/apps/
H A Ds_server.c192 size_t identity_len, SSL_SESSION **sess) in psk_find_session_cb()
201 *sess = NULL; in psk_find_session_cb()
207 *sess = psksess; in psk_find_session_cb()
236 *sess = tmpsess; in psk_find_session_cb()
3699 simple_ssl_session *sess = app_malloc(sizeof(*sess), "get session"); in add_session() local
3702 SSL_SESSION_get_id(session, &sess->idlen); in add_session()
3703 sess->derlen = i2d_SSL_SESSION(session, NULL); in add_session()
3704 if (sess->derlen < 0) { in add_session()
3706 OPENSSL_free(sess); in add_session()
191 psk_find_session_cb(SSL *ssl, const unsigned char *identity, size_t identity_len, SSL_SESSION **sess) psk_find_session_cb() argument
3739 simple_ssl_session *sess; get_session() local
3754 simple_ssl_session *sess, *prev = NULL; del_session() local
3785 simple_ssl_session *sess, *tsess; free_sessions() local
[all...]
/third_party/openssl/apps/
H A Ds_server.c192 size_t identity_len, SSL_SESSION **sess) in psk_find_session_cb()
201 *sess = NULL; in psk_find_session_cb()
207 *sess = psksess; in psk_find_session_cb()
236 *sess = tmpsess; in psk_find_session_cb()
3694 simple_ssl_session *sess = app_malloc(sizeof(*sess), "get session"); in add_session() local
3697 SSL_SESSION_get_id(session, &sess->idlen); in add_session()
3698 sess->derlen = i2d_SSL_SESSION(session, NULL); in add_session()
3699 if (sess->derlen < 0) { in add_session()
3701 OPENSSL_free(sess); in add_session()
191 psk_find_session_cb(SSL *ssl, const unsigned char *identity, size_t identity_len, SSL_SESSION **sess) psk_find_session_cb() argument
3734 simple_ssl_session *sess; get_session() local
3749 simple_ssl_session *sess, *prev = NULL; del_session() local
3780 simple_ssl_session *sess, *tsess; free_sessions() local
[all...]
/third_party/openssl/test/
H A Dclienthellotest.c73 SSL_SESSION *sess = NULL; in test_client_hello() local
158 sess = PEM_read_bio_SSL_SESSION(sessbio, NULL, NULL, NULL); in test_client_hello()
159 if (!TEST_ptr(sess)) { in test_client_hello()
167 if (!TEST_true(SSL_SESSION_set_time(sess, (long)time(NULL))) in test_client_hello()
168 || !TEST_true(SSL_set_session(con, sess))) in test_client_hello()
249 SSL_SESSION_free(sess); in test_client_hello()
/third_party/rust/crates/syn/tests/
H A Dtest_round_trip.rs94 let sess = ParseSess::new(locale_resources, file_path_mapping); in test()
95 let before = match librustc_parse(content, &sess) { in test()
107 let after = match librustc_parse(back, &sess) { in test()
152 fn librustc_parse(content: String, sess: &ParseSess) -> PResult<Crate> { in librustc_parse()
156 parse::parse_crate_from_source_str(name, content, sess) in librustc_parse()
/third_party/node/test/parallel/
H A Dtest-tls-ticket.js117 let sess = null;
122 session: sess,
138 sess = sess || session;

Completed in 27 milliseconds

123456