Lines Matching refs:mac_size
133 int mac_size; in ssl2_read_internal() local
238 mac_size = 0; in ssl2_read_internal()
249 mac_size=EVP_MD_CTX_size(s->read_hash); in ssl2_read_internal()
250 if (mac_size < 0) in ssl2_read_internal()
252 OPENSSL_assert(mac_size <= MAX_MAC_SIZE); in ssl2_read_internal()
254 s->s2->ract_data= &p[mac_size]; in ssl2_read_internal()
255 if (s->s2->padding + mac_size > s->s2->rlength) in ssl2_read_internal()
266 (s->s2->rlength >= (unsigned int)mac_size)) in ssl2_read_internal()
269 s->s2->ract_data_length-=mac_size; in ssl2_read_internal()
272 if ( (CRYPTO_memcmp(mac,s->s2->mac_data,mac_size) != 0) || in ssl2_read_internal()
518 int mac_size; in n_do_ssl_write() local
532 mac_size=0; in n_do_ssl_write()
535 mac_size=EVP_MD_CTX_size(s->write_hash); in n_do_ssl_write()
536 if (mac_size < 0) in n_do_ssl_write()
552 j=len+mac_size; in n_do_ssl_write()
565 len=k-mac_size; in n_do_ssl_write()
608 s->s2->wact_data= &(s->s2->wbuf[3+mac_size]); in n_do_ssl_write()
618 s->s2->wlength+=p+mac_size; in n_do_ssl_write()