Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_session.cc250 new_session->session_id_length = session->session_id_length; in SSL_SESSION_dup()
252 session->session_id_length); in SSL_SESSION_dup()
382 session->session_id_length = 0; in ssl_get_new_session()
384 session->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in ssl_get_new_session()
385 if (!RAND_bytes(session->session_id, session->session_id_length)) { in ssl_get_new_session()
390 session->session_id_length = 0; in ssl_get_new_session()
661 MakeConstSpan(sess->session_id, sess->session_id_length); in ssl_lookup_session()
759 if (session != NULL && session->session_id_length != 0) { in remove_session_lock()
883 *out_len = session->session_id_length; in SSL_SESSION_get_id()
897 session->session_id_length = sid_len; in SSL_SESSION_set1_id()
Ds3_both.cc383 uint16_t version, cipher_spec_length, session_id_length, challenge_length; in read_v2_client_hello() local
388 !CBS_get_u16(&v2_client_hello, &session_id_length) || in read_v2_client_hello()
391 !CBS_get_bytes(&v2_client_hello, &session_id, session_id_length) || in read_v2_client_hello()
Dhandshake_client.cc407 (ssl->session->session_id_length == 0 && in do_start_connect()
421 ssl->session->session_id_length > 0) { in do_start_connect()
422 hs->session_id_len = ssl->session->session_id_length; in do_start_connect()
633 ssl->session->session_id_length != 0 && in do_read_server_hello()
635 ssl->session->session_id_length)) { in do_read_server_hello()
658 hs->new_session->session_id_length = CBS_len(&session_id); in do_read_server_hello()
1657 session->session_id_length = SHA256_DIGEST_LENGTH; in do_read_session_ticket()
Dssl_asn1.cc207 for_ticket ? 0 : in->session_id_length) || in SSL_SESSION_to_bytes_full()
562 ret->session_id_length = CBS_len(&session_id); in SSL_SESSION_parse()
Dssl_lib.cc279 if (ssl->s3->established_session->session_id_length == 0 || in ssl_update_cache()
546 MakeConstSpan(sess->session_id, sess->session_id_length)); in ssl_session_hash()
550 if (a->session_id_length != b->session_id_length) { in ssl_session_cmp()
554 return OPENSSL_memcmp(a->session_id, b->session_id, a->session_id_length); in ssl_session_cmp()
Dhandshake_server.cc722 hs->new_session->session_id_length = 0; in do_select_parameters()
848 session->session_id_length) || in do_send_server_hello()
Dtls13_client.cc915 session->session_id_length = SHA256_DIGEST_LENGTH; in tls13_process_new_session_ticket()
Dssl_test.cc4419 unsigned session_id_length; in TEST_P() local
4420 SSL_SESSION_get_id(session.get(), &session_id_length); in TEST_P()
4421 EXPECT_NE(session_id_length, 0u); in TEST_P()
Dinternal.h3291 unsigned session_id_length = 0;
Dt1_lib.cc3623 session->session_id_length = session_id.size(); in ssl_process_ticket()