Searched refs:sid_ctx_length (Results 1 – 7 of 7) sorted by relevance
/openssl/ssl/ |
H A D | ssl_sess.c | 301 *len = (unsigned int)s->sid_ctx_length; in SSL_SESSION_get0_id_context() 475 if (s->sid_ctx_length > sizeof(ss->sid_ctx)) { in ssl_get_new_session() 480 memcpy(ss->sid_ctx, s->sid_ctx, s->sid_ctx_length); in ssl_get_new_session() 481 ss->sid_ctx_length = s->sid_ctx_length; in ssl_get_new_session() 640 if (ret->sid_ctx_length != s->sid_ctx_length in ssl_get_prev_session() 641 || memcmp(ret->sid_ctx, s->sid_ctx, ret->sid_ctx_length)) { in ssl_get_prev_session() 649 if ((s->verify_mode & SSL_VERIFY_PEER) && s->sid_ctx_length == 0) { in ssl_get_prev_session() 1104 s->sid_ctx_length = sid_ctx_len; in SSL_SESSION_set1_id_context()
|
H A D | ssl_txt.c | 73 for (i = 0; i < x->sid_ctx_length; i++) { in SSL_SESSION_print()
|
H A D | ssl_asn1.c | 169 in->sid_ctx, in->sid_ctx_length); in i2d_SSL_SESSION() 352 if (!ssl_session_memcpy(ret->sid_ctx, &ret->sid_ctx_length, in d2i_SSL_SESSION_ex()
|
H A D | ssl_lib.c | 796 s->sid_ctx_length = ctx->sid_ctx_length; in ossl_ssl_connection_new_int() 797 if (!ossl_assert(s->sid_ctx_length <= sizeof(s->sid_ctx))) in ossl_ssl_connection_new_int() 1000 ctx->sid_ctx_length = sid_ctx_len; in SSL_CTX_set_session_id_context() 1018 sc->sid_ctx_length = sid_ctx_len; in SSL_set_session_id_context() 2020 if (!SSL_set_session_id_context(t, fsc->sid_ctx, (int)fsc->sid_ctx_length)) { in SSL_copy_session_id() 4646 if (s->server && s->session->sid_ctx_length == 0 in ssl_update_cache() 5089 (int)sc->sid_ctx_length)) in SSL_dup() 5405 if (!ossl_assert(sc->sid_ctx_length <= sizeof(sc->sid_ctx))) in SSL_set_SSL_CTX() 5415 (sc->sid_ctx_length == ssl->ctx->sid_ctx_length) && in SSL_set_SSL_CTX() 5416 (memcmp(sc->sid_ctx, ssl->ctx->sid_ctx, sc->sid_ctx_length) == 0)) { in SSL_set_SSL_CTX() [all …]
|
H A D | ssl_local.h | 499 size_t sid_ctx_length; member 934 size_t sid_ctx_length; member 1495 size_t sid_ctx_length; member
|
/openssl/ssl/statem/ |
H A D | extensions_srvr.c | 1134 memcpy(sess->sid_ctx, s->sid_ctx, s->sid_ctx_length); in tls_parse_ctos_psk() 1135 sess->sid_ctx_length = s->sid_ctx_length; in tls_parse_ctos_psk()
|
H A D | statem_clnt.c | 1650 if (s->sid_ctx_length != s->session->sid_ctx_length in tls_process_server_hello() 1651 || memcmp(s->session->sid_ctx, s->sid_ctx, s->sid_ctx_length)) { in tls_process_server_hello()
|
Completed in 56 milliseconds