Lines Matching refs:mac_size
293 unsigned mac_size, orig_len;
425 /* s->read_hash != NULL => mac_size != -1 */
428 mac_size=EVP_MD_CTX_size(s->read_hash);
429 OPENSSL_assert(mac_size <= EVP_MAX_MD_SIZE);
439 if (orig_len < mac_size ||
442 orig_len < mac_size+1))
457 ssl3_cbc_copy_mac(mac_tmp, rr, mac_size, orig_len);
458 rr->length -= mac_size;
464 * enough bytes for |mac_size| above. */
465 rr->length -= mac_size;
470 if (i < 0 || mac == NULL || CRYPTO_memcmp(md, mac, (size_t)mac_size) != 0)
472 if (rr->length > SSL3_RT_MAX_COMPRESSED_LENGTH+extra+mac_size)
636 int i,mac_size,clear=0;
677 mac_size=0;
681 mac_size=EVP_MD_CTX_size(s->write_hash);
682 if (mac_size < 0)
806 if (mac_size != 0)
810 wr->length+=mac_size;