Home
last modified time | relevance | path

Searched refs:sid_ctx_length (Results 1 – 7 of 7) sorted by relevance

/third_party/openssl/ssl/
Dssl_sess.c236 *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()
Dssl_asn1.c160 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()
Dssl_txt.c71 for (i = 0; i < x->sid_ctx_length; i++) { in SSL_SESSION_print()
Dssl_lib.c742 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 …]
Dssl_local.h526 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/
Dextensions_srvr.c1163 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()
Dstatem_clnt.c1595 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()