Home
last modified time | relevance | path

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

12345

/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...]
/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...]
/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()
H A Dsslapitest.c73 size_t *idlen, SSL_SESSION **sess);
75 size_t identity_len, SSL_SESSION **sess);
433 SSL_SESSION *sess = NULL; in test_keylog_no_master_key() local
494 sess = SSL_get1_session(clientssl); in test_keylog_no_master_key()
509 || !TEST_true(SSL_set_session(clientssl, sess)) in test_keylog_no_master_key()
535 SSL_SESSION_free(sess); in test_keylog_no_master_key()
849 SSL_SESSION *sess = NULL, *sesspre, *sesspost; in test_ccs_change_cipher() local
870 || !TEST_ptr(sess = SSL_get1_session(clientssl))) in test_ccs_change_cipher()
880 || !TEST_true(SSL_set_session(clientssl, sess)) in test_ccs_change_cipher()
945 SSL_SESSION_free(sess); in test_ccs_change_cipher()
1990 new_session_cb(SSL *ssl, SSL_SESSION *sess) new_session_cb() argument
2001 remove_session_cb(SSL_CTX *ctx, SSL_SESSION *sess) remove_session_cb() argument
2393 new_cachesession_cb(SSL *ssl, SSL_SESSION *sess) new_cachesession_cb() argument
3212 use_session_cb(SSL *ssl, const EVP_MD *md, const unsigned char **id, size_t *idlen, SSL_SESSION **sess) use_session_cb() argument
3273 find_session_cb(SSL *ssl, const unsigned char *identity, size_t identity_len, SSL_SESSION **sess) find_session_cb() argument
3353 SSL_SESSION *sess = NULL; create_a_psk() local
3385 setupearly_data_test(SSL_CTX **cctx, SSL_CTX **sctx, SSL **clientssl, SSL **serverssl, SSL_SESSION **sess, int idx, size_t mdsize) setupearly_data_test() argument
3481 SSL_SESSION *sess = NULL; test_early_data_read_write() local
3712 SSL_SESSION *sess = NULL; test_early_data_replay_int() local
3859 SSL_SESSION *sess = NULL; early_data_skip_helper() local
4082 SSL_SESSION *sess = NULL; test_early_data_not_sent() local
4165 SSL_SESSION *sess = NULL; test_early_data_psk() local
4347 SSL_SESSION *sess = NULL; test_early_data_psk_with_all_ciphers() local
4451 SSL_SESSION *sess = NULL; test_early_data_not_expected() local
5831 SSL_SESSION *sess = NULL; test_custom_exts() local
6363 SSL_SESSION *sess = NULL; test_export_key_mat_early() local
7450 SSL_SESSION *sess = NULL; test_info_callback() local
8166 SSL_SESSION *sess; test_shutdown() local
8953 SSL_SESSION *sess = NULL; test_session_cache_overflow() local
9077 SSL_SESSION *sess = NULL; test_servername() local
10422 SSL_SESSION *sess; global() member
10480 SSL_SESSION *sess = NULL; test_multi_resume() local
[all...]
H A Dtls13ccstest.c251 SSL_SESSION *sess = NULL; in test_tls13ccs() local
306 sess = SSL_get1_session(cssl); in test_tls13ccs()
307 if (!TEST_ptr(sess)) in test_tls13ccs()
345 if (!TEST_true(SSL_set_session(cssl, sess)) in test_tls13ccs()
482 SSL_SESSION_free(sess); in test_tls13ccs()
/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/deps/openssl/openssl/ssl/statem/
H A Dextensions_srvr.c957 SSL_SESSION **sess) in tls_get_stateful_ticket()
980 *sess = tmpsess; in tls_get_stateful_ticket()
989 SSL_SESSION *sess = NULL; in tls_parse_ctos_psk() local
1021 &sess)) { in tls_parse_ctos_psk()
1027 if(sess == NULL in tls_parse_ctos_psk()
1059 sess = SSL_SESSION_new(); in tls_parse_ctos_psk()
1060 if (sess == NULL in tls_parse_ctos_psk()
1061 || !SSL_SESSION_set1_master_key(sess, pskdata, in tls_parse_ctos_psk()
1063 || !SSL_SESSION_set_cipher(sess, cipher) in tls_parse_ctos_psk()
1064 || !SSL_SESSION_set_protocol_version(sess, in tls_parse_ctos_psk()
956 tls_get_stateful_ticket(SSL *s, PACKET *tick, SSL_SESSION **sess) tls_get_stateful_ticket() argument
[all...]
/third_party/openssl/ssl/statem/
H A Dextensions_srvr.c957 SSL_SESSION **sess) in tls_get_stateful_ticket()
980 *sess = tmpsess; in tls_get_stateful_ticket()
989 SSL_SESSION *sess = NULL; in tls_parse_ctos_psk() local
1021 &sess)) { in tls_parse_ctos_psk()
1027 if(sess == NULL in tls_parse_ctos_psk()
1059 sess = SSL_SESSION_new(); in tls_parse_ctos_psk()
1060 if (sess == NULL in tls_parse_ctos_psk()
1061 || !SSL_SESSION_set1_master_key(sess, pskdata, in tls_parse_ctos_psk()
1063 || !SSL_SESSION_set_cipher(sess, cipher) in tls_parse_ctos_psk()
1064 || !SSL_SESSION_set_protocol_version(sess, in tls_parse_ctos_psk()
956 tls_get_stateful_ticket(SSL *s, PACKET *tick, SSL_SESSION **sess) tls_get_stateful_ticket() argument
[all...]
/third_party/node/test/parallel/
H A Dtest-tls-ticket.js117 let sess = null;
122 session: sess,
138 sess = sess || session;
/third_party/rust/crates/syn/tests/common/
H A Dparse.rs19 let sess = ParseSess::new(locale_resources, file_path_mapping); in librustc_expr()
21 &sess, in librustc_expr()

Completed in 34 milliseconds

12345