Home | History | Annotate | Download | only in ssl

Lines Matching defs:mac_size

385 	unsigned int mac_size, orig_len;
441 /* s->read_hash != NULL => mac_size != -1 */
444 mac_size=EVP_MD_CTX_size(s->read_hash);
445 OPENSSL_assert(mac_size <= EVP_MAX_MD_SIZE);
455 if (orig_len < mac_size ||
458 orig_len < mac_size+1))
473 ssl3_cbc_copy_mac(mac_tmp, rr, mac_size, orig_len);
474 rr->length -= mac_size;
480 * enough bytes for |mac_size| above. */
481 rr->length -= mac_size;
486 if (i < 0 || mac == NULL || CRYPTO_memcmp(md, mac, (size_t)mac_size) != 0)
488 if (rr->length > SSL3_RT_MAX_COMPRESSED_LENGTH+mac_size)
1477 int i,mac_size,clear=0;
1514 mac_size=0;
1517 mac_size=EVP_MD_CTX_size(s->write_hash);
1518 if (mac_size < 0)
1573 if (mac_size != 0)
1577 wr->length+=mac_size;