/external/openssl/ssl/ |
s2_pkt.c | 133 unsigned int mac_size; local 238 mac_size = 0; 249 mac_size=EVP_MD_size(s->read_hash); 250 OPENSSL_assert(mac_size <= MAX_MAC_SIZE); 252 s->s2->ract_data= &p[mac_size]; 253 if (s->s2->padding + mac_size > s->s2->rlength) 264 (s->s2->rlength >= mac_size)) 267 s->s2->ract_data_length-=mac_size; 271 (unsigned int)mac_size) != 0) || 516 unsigned int j,k,olen,p,mac_size,bs local [all...] |
s3_pkt.c | 249 unsigned int mac_size; local 403 mac_size=EVP_MD_size(s->read_hash); 405 if (rr->length > SSL3_RT_MAX_COMPRESSED_LENGTH+extra+mac_size) 415 /* check the MAC for rr->input (it's in mac_size bytes at the tail) */ 416 if (rr->length >= mac_size) 418 rr->length -= mac_size; 434 if (mac == NULL || memcmp(md, mac, mac_size) != 0) 602 int i,mac_size,clear=0; local 635 mac_size=0; 637 mac_size=EVP_MD_size(s->write_hash) [all...] |
d1_pkt.c | 336 unsigned int mac_size; local 394 mac_size=EVP_MD_size(s->read_hash); 396 if (rr->length > SSL3_RT_MAX_COMPRESSED_LENGTH+mac_size) 406 /* check the MAC for rr->input (it's in mac_size bytes at the tail) */ 407 if (rr->length < mac_size) 417 rr->length-=mac_size; 419 if (memcmp(md,&(rr->data[rr->length]),mac_size) != 0) 1315 int i,mac_size,clear=0; local [all...] |
d1_both.c | 180 unsigned int len, frag_off, mac_size, blocksize; local 229 mac_size = EVP_MD_size(s->write_hash); 231 mac_size = 0; 243 DTLS1_RT_HEADER_LENGTH - mac_size - blocksize; 252 mac_size - blocksize; [all...] |