Home
last modified time | relevance | path

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

/openssl/ssl/
H A Dtls13_enc.c45 size_t hashlen; in tls13_hkdf_expand_ex() local
70 hashlen = (size_t)ret; in tls13_hkdf_expand_ex()
274 size_t len = 0, hashlen; in tls13_final_finish_mac() local
306 params, key, hashlen, hash, hashlen, in tls13_final_finish_mac()
360 size_t hashlen; in derive_secret_key_and_iv() local
368 hashlen = (size_t)hashleni; in derive_secret_key_and_iv()
477 size_t labellen, hashlen = 0; in tls13_change_cipher_state() local
565 hashlen = hashlenui; in tls13_change_cipher_state()
760 size_t hashlen; in tls13_update_key() local
776 hashlen = (size_t)l; in tls13_update_key()
[all …]
H A Dt1_enc.c331 size_t hashlen; in tls1_final_finish_mac() local
343 if (!ssl_handshake_hash(s, hash, sizeof(hash), &hashlen)) { in tls1_final_finish_mac()
348 if (!tls1_PRF(s, str, slen, hash, hashlen, NULL, 0, NULL, 0, NULL, 0, in tls1_final_finish_mac()
354 OPENSSL_cleanse(hash, hashlen); in tls1_final_finish_mac()
364 size_t hashlen; in tls1_generate_master_secret() local
371 || !ssl_handshake_hash(s, hash, sizeof(hash), &hashlen)) { in tls1_generate_master_secret()
377 BIO_dump(trc_out, (char *)hash, hashlen); in tls1_generate_master_secret()
382 hash, hashlen, in tls1_generate_master_secret()
390 OPENSSL_cleanse(hash, hashlen); in tls1_generate_master_secret()
H A Dssl_local.h2868 size_t *hashlen);
H A Dssl_lib.c5978 size_t *hashlen) in ssl_handshake_hash() argument
6002 *hashlen = hashleni; in ssl_handshake_hash()
/openssl/test/
H A Dtls13secretstest.c138 size_t *hashlen) in ssl_handshake_hash() argument
146 *hashlen = sizeof(hs_full_hash); in ssl_handshake_hash()
149 *hashlen = sizeof(hs_start_hash); in ssl_handshake_hash()
/openssl/ssl/statem/
H A Dstatem_lib.c266 size_t hashlen; in get_cert_verify_tbs_data() local
286 hashlen = s->cert_verify_hash_len; in get_cert_verify_tbs_data()
288 EVP_MAX_MD_SIZE, &hashlen)) { in get_cert_verify_tbs_data()
294 *hdatalen = TLS13_TBS_PREAMBLE_SIZE + hashlen; in get_cert_verify_tbs_data()
2604 size_t hashlen, const unsigned char *hrr, in create_synthetic_message_hash() argument
2614 hashlen = 0; in create_synthetic_message_hash()
2618 &hashlen)) { in create_synthetic_message_hash()
2632 msghdr[SSL3_HM_HEADER_LENGTH - 1] = (unsigned char)hashlen; in create_synthetic_message_hash()
2634 || !ssl3_finish_mac(s, hashval, hashlen)) { in create_synthetic_message_hash()
H A Dextensions_srvr.c1782 size_t startlen, ciphlen, totcookielen, hashlen, hmaclen, appcookielen; in tls_construct_stoc_cookie() local
1823 || !ssl_handshake_hash(s, hashval1, EVP_MAX_MD_SIZE, &hashlen)) { in tls_construct_stoc_cookie()
1828 if (!WPACKET_allocate_bytes(pkt, hashlen, &hashval2) in tls_construct_stoc_cookie()
H A Dstatem_clnt.c2829 size_t hashlen; in tls_process_new_session_ticket() local
2837 hashlen = (size_t)hashleni; in tls_process_new_session_ticket()
2845 hashlen, 1)) { in tls_process_new_session_ticket()
2849 s->session->master_key_length = hashlen; in tls_process_new_session_ticket()
H A Dstatem_srvr.c4177 size_t i, hashlen; in tls_construct_new_session_ticket() local
4188 hashlen = (size_t)hashleni; in tls_construct_new_session_ticket()
4230 hashlen, 1)) { in tls_construct_new_session_ticket()
4234 s->session->master_key_length = hashlen; in tls_construct_new_session_ticket()
H A Dstatem_local.h72 size_t hashlen, const unsigned char *hrr,

Completed in 88 milliseconds