Home
last modified time | relevance | path

Searched refs:sid_ctx (Results 1 – 10 of 10) sorted by relevance

/openssl/doc/man3/
H A DSSL_CTX_set_session_id_context.pod11 int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const unsigned char *sid_ctx,
13 int SSL_set_session_id_context(SSL *ssl, const unsigned char *sid_ctx,
18 SSL_CTX_set_session_id_context() sets the context B<sid_ctx> of length
21 SSL_set_session_id_context() sets the context B<sid_ctx> of length
30 must set its own session id context B<sid_ctx> which is used to distinguish
31 the contexts and is stored in exported sessions. The B<sid_ctx> can be
44 The maximum length of the B<sid_ctx> is limited to
69 The length B<sid_ctx_len> of the session id context B<sid_ctx> exceeded
H A DSSL_SESSION_get0_id_context.pod15 int SSL_SESSION_set1_id_context(SSL_SESSION *s, const unsigned char *sid_ctx,
31 B<sid_ctx> and associates it with the session B<s>. The length of the ID context
/openssl/ssl/
H A Dssl_sess.c302 return s->sid_ctx; 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()
641 || memcmp(ret->sid_ctx, s->sid_ctx, ret->sid_ctx_length)) { in ssl_get_prev_session()
1097 int SSL_SESSION_set1_id_context(SSL_SESSION *s, const unsigned char *sid_ctx, in SSL_SESSION_set1_id_context() argument
1105 if (sid_ctx != s->sid_ctx) in SSL_SESSION_set1_id_context()
1106 memcpy(s->sid_ctx, sid_ctx, sid_ctx_len); in SSL_SESSION_set1_id_context()
H A Dssl_asn1.c116 ASN1_OCTET_STRING master_key, session_id, sid_ctx; in i2d_SSL_SESSION() local
168 ssl_session_oinit(&as.session_id_context, &sid_ctx, in i2d_SSL_SESSION()
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 Dssl_txt.c74 if (BIO_printf(bp, "%02X", x->sid_ctx[i]) <= 0) in SSL_SESSION_print()
H A Dssl_lib.c797 if (!ossl_assert(s->sid_ctx_length <= sizeof(s->sid_ctx))) in ossl_ssl_connection_new_int()
799 memcpy(&s->sid_ctx, &ctx->sid_ctx, sizeof(s->sid_ctx)); in ossl_ssl_connection_new_int()
993 int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const unsigned char *sid_ctx, in SSL_CTX_set_session_id_context() argument
1001 memcpy(ctx->sid_ctx, sid_ctx, sid_ctx_len); in SSL_CTX_set_session_id_context()
1006 int SSL_set_session_id_context(SSL *ssl, const unsigned char *sid_ctx, in SSL_set_session_id_context() argument
1019 memcpy(sc->sid_ctx, sid_ctx, 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()
5088 if (!SSL_set_session_id_context(ret, sc->sid_ctx, in SSL_dup()
5405 if (!ossl_assert(sc->sid_ctx_length <= sizeof(sc->sid_ctx))) 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 Dssl_local.h500 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
935 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
1496 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
/openssl/ssl/statem/
H A Dextensions_srvr.c1134 memcpy(sess->sid_ctx, s->sid_ctx, s->sid_ctx_length); in tls_parse_ctos_psk()
H A Dstatem_clnt.c1651 || memcmp(s->session->sid_ctx, s->sid_ctx, s->sid_ctx_length)) { in tls_process_server_hello()
/openssl/include/openssl/
H A Dssl.h.in1723 const unsigned char *sid_ctx,
1808 const unsigned char *sid_ctx,
1816 __owur int SSL_set_session_id_context(SSL *ssl, const unsigned char *sid_ctx,

Completed in 108 milliseconds