Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_session.c260 session->sid_ctx_length = sid_ctx_len; in SSL_SESSION_set1_id_context()
342 if (ssl->sid_ctx_length > sizeof(session->sid_ctx)) { in ssl_get_new_session()
346 memcpy(session->sid_ctx, ssl->sid_ctx, ssl->sid_ctx_length); in ssl_get_new_session()
347 session->sid_ctx_length = ssl->sid_ctx_length; in ssl_get_new_session()
459 session->sid_ctx_length != ssl->sid_ctx_length || in ssl_get_prev_session()
460 memcmp(session->sid_ctx, ssl->sid_ctx, ssl->sid_ctx_length) != 0) { in ssl_get_prev_session()
464 if ((ssl->verify_mode & SSL_VERIFY_PEER) && ssl->sid_ctx_length == 0) { in ssl_get_prev_session()
Dssl_lib.c377 ssl->sid_ctx_length = ctx->sid_ctx_length; in SSL_new()
378 assert(ssl->sid_ctx_length <= sizeof ssl->sid_ctx); in SSL_new()
921 ctx->sid_ctx_length = sid_ctx_len; in SSL_CTX_set_session_id_context()
933 ssl->sid_ctx_length = sid_ctx_len; in SSL_set_session_id_context()
1968 ssl->sid_ctx_length = ctx->sid_ctx_length; in SSL_set_SSL_CTX()
1969 assert(ssl->sid_ctx_length <= sizeof(ssl->sid_ctx)); in SSL_set_SSL_CTX()
Dssl_asn1.c241 !CBB_add_bytes(&child2, in->sid_ctx, in->sid_ctx_length)) { in SSL_SESSION_to_bytes_full()
584 &session, ret->sid_ctx, &ret->sid_ctx_length, sizeof(ret->sid_ctx), in SSL_SESSION_parse()
Ds3_clnt.c812 if (ssl->sid_ctx_length != ssl->session->sid_ctx_length || in ssl3_get_server_hello()
813 memcmp(ssl->session->sid_ctx, ssl->sid_ctx, ssl->sid_ctx_length)) { in ssl3_get_server_hello()
/external/boringssl/src/include/openssl/
Dssl.h3365 unsigned int sid_ctx_length; member
3582 unsigned int sid_ctx_length; member
3794 unsigned int sid_ctx_length; member