Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_sess.c346 if (s->sid_ctx_length > sizeof(ss->sid_ctx)) { in ssl_get_new_session()
352 memcpy(ss->sid_ctx, s->sid_ctx, s->sid_ctx_length); in ssl_get_new_session()
353 ss->sid_ctx_length = s->sid_ctx_length; in ssl_get_new_session()
468 if (ret->sid_ctx_length != s->sid_ctx_length || in ssl_get_prev_session()
469 memcmp(ret->sid_ctx, s->sid_ctx, ret->sid_ctx_length)) { in ssl_get_prev_session()
475 if ((s->verify_mode & SSL_VERIFY_PEER) && s->sid_ctx_length == 0) { in ssl_get_prev_session()
698 s->sid_ctx_length = sid_ctx_len; in SSL_SESSION_set1_id_context()
Dssl_txt.c157 for (i = 0; i < x->sid_ctx_length; i++) { in SSL_SESSION_print()
Dssl_lib.c276 s->sid_ctx_length = ctx->sid_ctx_length; in SSL_new()
277 assert(s->sid_ctx_length <= sizeof s->sid_ctx); in SSL_new()
373 ctx->sid_ctx_length = sid_ctx_len; in SSL_CTX_set_session_id_context()
386 ssl->sid_ctx_length = sid_ctx_len; in SSL_set_session_id_context()
1675 ret->sid_ctx_length = 0; in SSL_CTX_new()
2314 ssl->sid_ctx_length = ctx->sid_ctx_length; in SSL_set_SSL_CTX()
2315 assert(ssl->sid_ctx_length <= sizeof(ssl->sid_ctx)); in SSL_set_SSL_CTX()
Dssl_asn1.c223 !CBB_add_bytes(&child2, in->sid_ctx, in->sid_ctx_length)) { in SSL_SESSION_to_bytes_full()
553 ret->sid_ctx_length = CBS_len(&sid_ctx); in d2i_SSL_SESSION()
Ds3_clnt.c798 if (s->sid_ctx_length != s->session->sid_ctx_length || in ssl3_get_server_hello()
799 memcmp(s->session->sid_ctx, s->sid_ctx, s->sid_ctx_length)) { in ssl3_get_server_hello()
/external/boringssl/src/include/openssl/
Dssl.h640 unsigned int sid_ctx_length; member
970 unsigned int sid_ctx_length; member
1378 unsigned int sid_ctx_length; member