Searched refs:mac_hash (Results 1 – 4 of 4) sorted by relevance
/dragonfly/crypto/libressl/ssl/ |
H A D | tls12_key_schedule.c | 89 const EVP_AEAD *aead, const EVP_CIPHER *cipher, const EVP_MD *mac_hash) in tls12_key_block_generate() argument 104 if (aead == NULL && (cipher == NULL || mac_hash == NULL)) in tls12_key_block_generate() 118 } else if (cipher != NULL && mac_hash != NULL) { in tls12_key_block_generate() 123 mac_key_len = EVP_MD_size(mac_hash); in tls12_key_block_generate() 128 if (EVP_MD_type(mac_hash) == NID_id_Gost28147_89_MAC) in tls12_key_block_generate()
|
H A D | t1_enc.c | 350 const EVP_MD *mac_hash = NULL; in tls1_setup_key_block() local 368 if (!ssl_cipher_get_evp(s->session, &cipher, &mac_hash, in tls1_setup_key_block() 380 handshake_hash, mac_hash); in tls1_setup_key_block() 384 if (!tls12_key_block_generate(key_block, s, aead, cipher, mac_hash)) in tls1_setup_key_block()
|
H A D | tls12_record_layer.c | 173 const EVP_MD *mac_hash; member 274 const EVP_MD *mac_hash) in tls12_record_layer_set_cipher_hash() argument 278 rl->mac_hash = mac_hash; in tls12_record_layer_set_cipher_hash() 489 if (EVP_MD_type(rl->mac_hash) == NID_id_Gost28147_89_MAC) { in tls12_record_layer_ccs_cipher() 497 if (EVP_MD_size(rl->mac_hash) != CBS_len(mac_key)) in tls12_record_layer_ccs_cipher() 518 if (EVP_DigestSignInit(rp->hash_ctx, NULL, rl->mac_hash, NULL, in tls12_record_layer_ccs_cipher() 532 if (EVP_MD_type(rl->mac_hash) == NID_id_Gost28147_89_MAC) { in tls12_record_layer_ccs_cipher()
|
H A D | ssl_locl.h | 672 const EVP_AEAD *aead, const EVP_CIPHER *cipher, const EVP_MD *mac_hash); 688 const EVP_MD *mac_hash);
|