Home
last modified time | relevance | path

Searched refs:master_key_length (Results 1 – 13 of 13) sorted by relevance

/external/boringssl/src/ssl/
Dtls13_enc.cc370 hs->new_session->master_key_length = hs->hash_len; in tls13_derive_resumption_secret()
372 hs->new_session->master_key_length, in tls13_derive_resumption_secret()
420 session->master_key_length, kTLS13LabelResumptionPSK, in tls13_derive_session_psk()
422 nonce.size(), session->master_key_length); in tls13_derive_session_psk()
515 ssl->session->master_key_length, context, context_len, in tls13_write_psk_binder()
547 session->master_key, session->master_key_length, in tls13_verify_psk_binder()
Dssl_session.cc204 new_session->master_key_length = session->master_key_length; in SSL_SESSION_dup()
206 session->master_key_length); in SSL_SESSION_dup()
949 return (size_t)session->master_key_length; in SSL_SESSION_get_master_key()
951 if (max_out > (size_t)session->master_key_length) { in SSL_SESSION_get_master_key()
952 max_out = (size_t)session->master_key_length; in SSL_SESSION_get_master_key()
Dt1_enc.cc299 MakeConstSpan(session->master_key, session->master_key_length); in SSL_generate_key_block()
359 MakeConstSpan(session->master_key, session->master_key_length), in SSL_export_keying_material()
Dssl_transcript.cc255 MakeConstSpan(session->master_key, session->master_key_length), in GetFinishedMAC()
Dssl_asn1.cc209 in->master_key_length) || in SSL_SESSION_to_bytes_full()
564 ret->master_key_length = CBS_len(&master_key); in SSL_SESSION_parse()
Dhandshake_server.cc1346 hs->new_session->master_key_length = tls1_generate_master_secret( in do_read_client_key_exchange()
1348 if (hs->new_session->master_key_length == 0) { in do_read_client_key_exchange()
1353 hs->new_session->master_key_length); in do_read_client_key_exchange()
Dhandshake_client.cc460 ssl->session->master_key_length) || in do_enter_early_data()
1395 hs->new_session->master_key_length = in do_send_client_key_exchange()
1397 if (hs->new_session->master_key_length == 0) { in do_send_client_key_exchange()
Dhandshake.cc483 session->master_key_length)) { in ssl_send_finished()
Dtls13_client.cc368 hs->new_session->master_key_length)) { in do_read_server_hello()
Dtls13_server.cc483 hs->new_session->master_key_length)) { in do_select_session()
Dinternal.h3287 int master_key_length = 0;
/external/curl/lib/vtls/
Dopenssl.c217 int master_key_length; member
292 int master_key_length = 0; in tap_ssl_key() local
303 master_key_length = (int) in tap_ssl_key()
306 if(ssl->s3 && session->master_key_length > 0) { in tap_ssl_key()
307 master_key_length = session->master_key_length; in tap_ssl_key()
308 memcpy(master_key, session->master_key, session->master_key_length); in tap_ssl_key()
313 if(master_key_length <= 0) in tap_ssl_key()
317 if(state->master_key_length == master_key_length && in tap_ssl_key()
318 !memcmp(state->master_key, master_key, master_key_length) && in tap_ssl_key()
323 state->master_key_length = master_key_length; in tap_ssl_key()
[all …]
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c95 if (!session || session->master_key_length < 0 || in SSL_SESSION_get_master_key()
96 (size_t) session->master_key_length > outlen) in SSL_SESSION_get_master_key()
98 if ((size_t) session->master_key_length < outlen) in SSL_SESSION_get_master_key()
99 outlen = session->master_key_length; in SSL_SESSION_get_master_key()