Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_session.c210 *out_len = session->session_id_length; in SSL_SESSION_get_id()
323 session->session_id_length = 0; in ssl_get_new_session()
325 session->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in ssl_get_new_session()
326 if (!RAND_bytes(session->session_id, session->session_id_length)) { in ssl_get_new_session()
339 session->session_id_length = 0; in ssl_get_new_session()
378 data.session_id_length = session_id_len; in ssl_lookup_session()
549 if (session != NULL && session->session_id_length != 0) { in remove_session_lock()
Ds3_clnt.c682 (ssl->session->session_id_length == 0 || ssl->session->not_resumable || in ssl3_send_client_hello()
709 ssl->session->session_id_length))) { in ssl3_send_client_hello()
808 assert(ssl->session == NULL || ssl->session->session_id_length > 0); in ssl3_get_server_hello()
811 ssl->session->session_id_length)) { in ssl3_get_server_hello()
829 ssl->session->session_id_length = CBS_len(&session_id); in ssl3_get_server_hello()
1491 &ssl->session->session_id_length, EVP_sha256(), NULL)) { in ssl3_get_new_session_ticket()
Dssl_test.cc929 ret->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in CreateTestSession()
930 memset(ret->session_id, 0, ret->session_id_length); in CreateTestSession()
Dssl_asn1.c202 for_ticket ? 0 : in->session_id_length) || in SSL_SESSION_to_bytes_full()
554 ret->session_id_length = CBS_len(&session_id); in SSL_SESSION_parse()
Ds3_srvr.c646 uint16_t version, cipher_spec_length, session_id_length, challenge_length; in ssl3_get_v2_client_hello() local
688 !CBS_get_u16(&v2_client_hello, &session_id_length) || in ssl3_get_v2_client_hello()
691 !CBS_get_bytes(&v2_client_hello, &session_id, session_id_length) || in ssl3_get_v2_client_hello()
954 ssl->session->session_id_length = 0; in ssl3_get_client_hello()
1151 ssl->session->session_id_length) || in ssl3_send_server_hello()
Dssl_lib.c204 if (a->session_id_length != b->session_id_length) { in ssl_session_cmp()
208 return memcmp(a->session_id, b->session_id, a->session_id_length); in ssl_session_cmp()
1751 if (ssl->session->session_id_length == 0 || in ssl_update_cache()
Dt1_lib.c2595 session->session_id_length = session_id_len; in tls_process_ticket()
/external/boringssl/src/include/openssl/
Dssl.h3360 unsigned int session_id_length; member
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp9306 hex_string(&session_id_str, session->session_id, session->session_id_length);
10588 jbyteArray result = env->NewByteArray(ssl_session->session_id_length);
10591 env->SetByteArrayRegion(result, 0, ssl_session->session_id_length, src);
10594 ssl_session, result, ssl_session->session_id_length);