Lines Matching refs:hash
259 const EVP_MD *hash; in tls1_setup_key_block() local
269 if (!ssl_cipher_get_evp(SSL_CONNECTION_GET_CTX(s), s->session, &c, &hash, in tls1_setup_key_block()
280 s->s3.tmp.new_hash = hash; in tls1_setup_key_block()
332 unsigned char hash[EVP_MAX_MD_SIZE]; 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()
363 unsigned char hash[EVP_MAX_MD_SIZE * 2]; 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()