Lines Matching defs:mac_size
382 unsigned int mac_size, orig_len;
438 /* s->read_hash != NULL => mac_size != -1 */
441 mac_size=EVP_MD_CTX_size(s->read_hash);
442 OPENSSL_assert(mac_size <= EVP_MAX_MD_SIZE);
452 if (orig_len < mac_size ||
455 orig_len < mac_size+1))
470 ssl3_cbc_copy_mac(mac_tmp, rr, mac_size, orig_len);
471 rr->length -= mac_size;
477 * enough bytes for |mac_size| above. */
478 rr->length -= mac_size;
483 if (i < 0 || mac == NULL || CRYPTO_memcmp(md, mac, (size_t)mac_size) != 0)
485 if (rr->length > SSL3_RT_MAX_COMPRESSED_LENGTH+mac_size)
1466 int i,mac_size,clear=0;
1503 mac_size=0;
1506 mac_size=EVP_MD_CTX_size(s->write_hash);
1507 if (mac_size < 0)
1593 if (mac_size != 0)
1597 wr->length+=mac_size;