/external/openssl/ssl/ |
d1_enc.c | 142 int bs,i,j,k,mac_size=0; local 149 mac_size=EVP_MD_CTX_size(s->write_hash); 150 if (mac_size < 0) 175 mac_size=EVP_MD_CTX_size(s->read_hash); 176 OPENSSL_assert(mac_size >= 0); 256 return tls1_cbc_remove_padding(s, rec, bs, mac_size);
|
s2_pkt.c | 133 int mac_size; local 238 mac_size = 0; 249 mac_size=EVP_MD_CTX_size(s->read_hash); 250 if (mac_size < 0) 252 OPENSSL_assert(mac_size <= MAX_MAC_SIZE); 254 s->s2->ract_data= &p[mac_size]; 255 if (s->s2->padding + mac_size > s->s2->rlength) 266 (s->s2->rlength >= (unsigned int)mac_size)) 269 s->s2->ract_data_length-=mac_size; 272 if ( (CRYPTO_memcmp(mac,s->s2->mac_data,mac_size) != 0) | 518 int mac_size; local [all...] |
s3_pkt.c | 293 unsigned mac_size, orig_len; local 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; 636 int i,mac_size,clear=0; local [all...] |
d1_pkt.c | 382 unsigned int mac_size, orig_len; local 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; 1466 int i,mac_size,clear=0; local [all...] |
s3_cbc.c | 112 unsigned mac_size) 115 const unsigned overhead = 1 /* padding length byte */ + mac_size; 146 unsigned mac_size) 149 const unsigned overhead = 1 /* padding length byte */ + mac_size;
|
d1_both.c | 227 unsigned int len, frag_off, mac_size, blocksize; local 275 mac_size = EVP_MD_CTX_size(s->write_hash); 277 mac_size = 0; 289 DTLS1_RT_HEADER_LENGTH - mac_size - blocksize; 298 mac_size - blocksize; [all...] |
s3_enc.c | 483 int bs,i,mac_size=0; local 541 mac_size = EVP_MD_CTX_size(s->read_hash); 543 return ssl3_cbc_remove_padding(s, rec, bs, mac_size);
|
t1_enc.c | 684 int bs,i,j,k,pad=0,ret,mac_size=0; local 854 mac_size = EVP_MD_CTX_size(s->read_hash); 856 ret = tls1_cbc_remove_padding(s, rec, bs, mac_size); [all...] |
ssl_locl.h | [all...] |