Searched refs:sid_ctx_length (Results 1 – 7 of 7) sorted by relevance
/third_party/openssl/ssl/ |
D | ssl_sess.c | 236 *len = (unsigned int)s->sid_ctx_length; in SSL_SESSION_get0_id_context() 400 if (s->sid_ctx_length > sizeof(ss->sid_ctx)) { in ssl_get_new_session() 406 memcpy(ss->sid_ctx, s->sid_ctx, s->sid_ctx_length); in ssl_get_new_session() 407 ss->sid_ctx_length = s->sid_ctx_length; in ssl_get_new_session() 557 if (ret->sid_ctx_length != s->sid_ctx_length in ssl_get_prev_session() 558 || memcmp(ret->sid_ctx, s->sid_ctx, ret->sid_ctx_length)) { in ssl_get_prev_session() 566 if ((s->verify_mode & SSL_VERIFY_PEER) && s->sid_ctx_length == 0) { in ssl_get_prev_session() 963 s->sid_ctx_length = sid_ctx_len; in SSL_SESSION_set1_id_context()
|
D | ssl_asn1.c | 160 in->sid_ctx, in->sid_ctx_length); in i2d_SSL_SESSION() 312 if (!ssl_session_memcpy(ret->sid_ctx, &ret->sid_ctx_length, in d2i_SSL_SESSION()
|
D | ssl_txt.c | 71 for (i = 0; i < x->sid_ctx_length; i++) { in SSL_SESSION_print()
|
D | ssl_lib.c | 742 s->sid_ctx_length = ctx->sid_ctx_length; in SSL_new() 743 if (!ossl_assert(s->sid_ctx_length <= sizeof(s->sid_ctx))) in SSL_new() 886 ctx->sid_ctx_length = sid_ctx_len; in SSL_CTX_set_session_id_context() 900 ssl->sid_ctx_length = sid_ctx_len; in SSL_set_session_id_context() 1584 if (!SSL_set_session_id_context(t, f->sid_ctx, (int)f->sid_ctx_length)) { in SSL_copy_session_id() 3517 if (s->server && s->session->sid_ctx_length == 0 in ssl_update_cache() 3874 (int)s->sid_ctx_length)) in SSL_dup() 4119 if (!ossl_assert(ssl->sid_ctx_length <= sizeof(ssl->sid_ctx))) in SSL_set_SSL_CTX() 4129 (ssl->sid_ctx_length == ssl->ctx->sid_ctx_length) && in SSL_set_SSL_CTX() 4130 (memcmp(ssl->sid_ctx, ssl->ctx->sid_ctx, ssl->sid_ctx_length) == 0)) { in SSL_set_SSL_CTX() [all …]
|
D | ssl_local.h | 526 size_t sid_ctx_length; member 874 size_t sid_ctx_length; member 1185 size_t sid_ctx_length; member
|
/third_party/openssl/ssl/statem/ |
D | extensions_srvr.c | 1163 memcpy(sess->sid_ctx, s->sid_ctx, s->sid_ctx_length); in tls_parse_ctos_psk() 1164 sess->sid_ctx_length = s->sid_ctx_length; in tls_parse_ctos_psk()
|
D | statem_clnt.c | 1595 if (s->sid_ctx_length != s->session->sid_ctx_length in tls_process_server_hello() 1596 || memcmp(s->session->sid_ctx, s->sid_ctx, s->sid_ctx_length)) { in tls_process_server_hello()
|