Lines Matching refs:mac_ctx
338 EVP_MD_CTX *mac_ctx; in tls1_change_cipher_state() local
383 mac_ctx=ssl_replace_hash(&s->read_hash,NULL); in tls1_change_cipher_state()
425 mac_ctx = ssl_replace_hash(&s->write_hash,NULL); in tls1_change_cipher_state()
497 EVP_DigestSignInit(mac_ctx,NULL,m,NULL,mac_key); in tls1_change_cipher_state()
995 EVP_MD_CTX hmac, *mac_ctx; in tls1_mac() local
1026 mac_ctx = hash; in tls1_mac()
1031 mac_ctx = &hmac; in tls1_mac()
1041 EVP_DigestSignUpdate(mac_ctx,dtlsseq,8); in tls1_mac()
1044 EVP_DigestSignUpdate(mac_ctx,seq,8); in tls1_mac()
1046 EVP_DigestSignUpdate(mac_ctx,buf,5); in tls1_mac()
1047 EVP_DigestSignUpdate(mac_ctx,rec->input,rec->length); in tls1_mac()
1048 t=EVP_DigestSignFinal(mac_ctx,md,&md_size); in tls1_mac()