Lines Matching refs:hash
271 unsigned char hash[EVP_MAX_MD_SIZE]; in tls13_final_finish_mac() local
288 if (!ssl_handshake_hash(s, hash, sizeof(hash), &hashlen)) { in tls13_final_finish_mac()
306 params, key, hashlen, hash, hashlen, in tls13_final_finish_mac()
325 const EVP_MD *hash; in tls13_setup_key_block() local
330 if (!ssl_cipher_get_evp(SSL_CONNECTION_GET_CTX(s), s->session, &c, &hash, in tls13_setup_key_block()
340 s->s3.tmp.new_hash = hash; in tls13_setup_key_block()
352 const unsigned char *hash, in derive_secret_key_and_iv() argument
370 if (!tls13_hkdf_expand(s, md, insecret, label, labellen, hash, hashlen, in derive_secret_key_and_iv()
471 unsigned char *hash = hashval; in tls13_change_cipher_state() local
603 hash = s->handshake_traffic_hash; in tls13_change_cipher_state()
615 hash = s->server_finished_hash; in tls13_change_cipher_state()
680 insecret, hash, label, labellen, secret, key, in tls13_change_cipher_state()
692 hash, hashlen, s->exporter_master_secret, in tls13_change_cipher_state()
839 unsigned char hash[EVP_MAX_MD_SIZE], data[EVP_MAX_MD_SIZE]; in tls13_export_keying_material() local
853 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material()
860 sizeof(exporterlabel) - 1, hash, hashsize, in tls13_export_keying_material()
879 unsigned char hash[EVP_MAX_MD_SIZE], data[EVP_MAX_MD_SIZE]; in tls13_export_keying_material_early() local
915 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material_early()
922 sizeof(exporterlabel) - 1, hash, hashsize, in tls13_export_keying_material_early()