Home
last modified time | relevance | path

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

/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dtls13_enc.cc306 hs->new_session->master_key_length = hs->transcript.DigestLen(); in tls13_derive_resumption_secret()
309 MakeSpan(hs->new_session->master_key, hs->new_session->master_key_length), in tls13_derive_resumption_secret()
357 auto session_key = MakeSpan(session->master_key, session->master_key_length); in tls13_derive_session_psk()
466 ssl->session->master_key_length), in tls13_write_psk_binder()
491 MakeConstSpan(session->master_key, session->master_key_length), in tls13_verify_psk_binder()
Dt1_enc.cc303 MakeConstSpan(session->master_key, session->master_key_length); in SSL_generate_key_block()
363 MakeConstSpan(session->master_key, session->master_key_length), in SSL_export_keying_material()
Dssl_session.cc205 new_session->master_key_length = session->master_key_length; in SSL_SESSION_dup()
207 session->master_key_length); in SSL_SESSION_dup()
971 return (size_t)session->master_key_length; in SSL_SESSION_get_master_key()
973 if (max_out > (size_t)session->master_key_length) { in SSL_SESSION_get_master_key()
974 max_out = (size_t)session->master_key_length; in SSL_SESSION_get_master_key()
Dssl_transcript.cc268 MakeConstSpan(session->master_key, session->master_key_length), in GetFinishedMAC()
Dssl_asn1.cc214 in->master_key_length) || in SSL_SESSION_to_bytes_full()
586 ret->master_key_length = CBS_len(&master_key); in SSL_SESSION_parse()
Dhandshake_client.cc464 ssl->session->master_key_length)) || in do_enter_early_data()
1414 hs->new_session->master_key_length = in do_send_client_key_exchange()
1416 if (hs->new_session->master_key_length == 0) { in do_send_client_key_exchange()
Dhandshake_server.cc1405 hs->new_session->master_key_length = tls1_generate_master_secret( in do_read_client_key_exchange()
1407 if (hs->new_session->master_key_length == 0) { in do_read_client_key_exchange()
1412 hs->new_session->master_key_length); in do_read_client_key_exchange()
Dhandshake.cc499 MakeConstSpan(session->master_key, session->master_key_length))) { in ssl_send_finished()
Dtls13_client.cc419 hs->new_session->master_key_length))) { in do_read_server_hello()
Dtls13_server.cc444 hs->new_session->master_key_length))) { in do_select_session()
Dinternal.h3450 int master_key_length = 0;
/external/curl/lib/vtls/
Dopenssl.c265 int master_key_length = 0; in ossl_log_tls12_secret() local
276 master_key_length = (int) in ossl_log_tls12_secret()
279 if(ssl->s3 && session->master_key_length > 0) { in ossl_log_tls12_secret()
280 master_key_length = session->master_key_length; in ossl_log_tls12_secret()
281 memcpy(master_key, session->master_key, session->master_key_length); in ossl_log_tls12_secret()
289 if(master_key_length <= 0) in ossl_log_tls12_secret()
294 master_key, master_key_length); in ossl_log_tls12_secret()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c102 if (!session || session->master_key_length < 0 || in SSL_SESSION_get_master_key()
103 (size_t) session->master_key_length > outlen) in SSL_SESSION_get_master_key()
105 if ((size_t) session->master_key_length < outlen) in SSL_SESSION_get_master_key()
106 outlen = session->master_key_length; in SSL_SESSION_get_master_key()