/external/chromium_org/third_party/boringssl/src/ssl/ |
d1_enc.c | 138 int bs,i,j,k,mac_size=0; local 145 mac_size=EVP_MD_CTX_size(s->write_hash); 146 if (mac_size < 0) 171 mac_size=EVP_MD_CTX_size(s->read_hash); 172 assert(mac_size >= 0); 247 return tls1_cbc_remove_padding(s, rec, bs, mac_size);
|
d1_both.c | 236 unsigned int len, frag_off, mac_size, blocksize; local 286 mac_size = 0; 288 mac_size = EVP_MD_CTX_size(s->write_hash); 291 mac_size = 0; 303 DTLS1_RT_HEADER_LENGTH - mac_size - blocksize; 312 mac_size - blocksize; [all...] |
s3_pkt.c | 301 unsigned mac_size, orig_len; local 436 /* s->read_hash != NULL => mac_size != -1 */ 439 mac_size=EVP_MD_CTX_size(s->read_hash); 440 assert(mac_size <= EVP_MAX_MD_SIZE); 450 if (orig_len < mac_size || 453 orig_len < mac_size+1)) 468 ssl3_cbc_copy_mac(mac_tmp, rr, mac_size, orig_len); 469 rr->length -= mac_size; 475 * enough bytes for |mac_size| above. */ 476 rr->length -= mac_size; 643 int i,mac_size; local [all...] |
d1_pkt.c | 375 unsigned int mac_size, orig_len; local 431 /* s->read_hash != NULL => mac_size != -1 */ 434 mac_size=EVP_MD_CTX_size(s->read_hash); 435 assert(mac_size <= EVP_MAX_MD_SIZE); 445 if (orig_len < mac_size || 448 orig_len < mac_size+1)) 463 ssl3_cbc_copy_mac(mac_tmp, rr, mac_size, orig_len); 464 rr->length -= mac_size; 470 * enough bytes for |mac_size| above. */ 471 rr->length -= mac_size; 1348 int i,mac_size,clear=0; local [all...] |
s3_enc.c | 410 int bs,i,mac_size=0; local 468 mac_size = EVP_MD_CTX_size(s->read_hash); 470 return ssl3_cbc_remove_padding(s, rec, bs, mac_size);
|
t1_enc.c | 705 int bs,i,j,k,pad=0,ret,mac_size=0; local 955 mac_size = EVP_MD_CTX_size(s->read_hash); 957 ret = tls1_cbc_remove_padding(s, rec, bs, mac_size); [all...] |
/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 | 300 unsigned mac_size, orig_len; local 433 /* s->read_hash != NULL => mac_size != -1 */ 436 mac_size=EVP_MD_CTX_size(s->read_hash); 437 OPENSSL_assert(mac_size <= EVP_MAX_MD_SIZE); 447 if (orig_len < mac_size || 450 orig_len < mac_size+1)) 465 ssl3_cbc_copy_mac(mac_tmp, rr, mac_size, orig_len); 466 rr->length -= mac_size; 472 * enough bytes for |mac_size| above. */ 473 rr->length -= mac_size; 697 int i,mac_size; local [all...] |
d1_both.c | 233 unsigned int len, frag_off, mac_size, blocksize; local 281 mac_size = EVP_MD_CTX_size(s->write_hash); 283 mac_size = 0; 295 DTLS1_RT_HEADER_LENGTH - mac_size - blocksize; 304 mac_size - blocksize; [all...] |
d1_pkt.c | 385 unsigned int mac_size, orig_len; local 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; 1477 int i,mac_size,clear=0; local [all...] |
s3_enc.c | 482 int bs,i,mac_size=0; local 540 mac_size = EVP_MD_CTX_size(s->read_hash); 542 return ssl3_cbc_remove_padding(s, rec, bs, mac_size);
|
t1_enc.c | 689 int bs,i,j,k,pad=0,ret,mac_size=0; local 859 mac_size = EVP_MD_CTX_size(s->read_hash); 861 ret = tls1_cbc_remove_padding(s, rec, bs, mac_size); [all...] |
/external/chromium_org/net/third_party/nss/ssl/ |
sslimpl.h | 583 int mac_size; member in struct:__anon14336 791 int mac_size; member in struct:ssl3MACDefStr [all...] |