/external/boringssl/src/ssl/ |
d1_both.c | 148 static hm_fragment *dtls1_hm_fragment_new(size_t frag_len, int reassembly) { 158 if (frag_len > 0) { 159 frag->fragment = OPENSSL_malloc(frag_len); 167 if (frag_len + 7 < frag_len) { 171 size_t bitmask_len = (frag_len + 7) / 8; 428 * |frag_len|. It returns one on success and zero on error. 432 static int dtls1_discard_fragment_body(SSL *ssl, size_t frag_len) { 434 while (frag_len > 0) { 435 size_t chunk = frag_len < sizeof(discard) ? frag_len : sizeof(discard) 524 const size_t frag_len = msg_hdr.frag_len; local [all...] |
tls_record.c | 310 size_t frag_len = 0; local 324 if (!do_seal_record(ssl, out, &frag_len, frag_max_out, type, in, 1)) { 329 out += frag_len; 330 max_out -= frag_len; 334 frag_len); 340 *out_len += frag_len;
|
internal.h | 896 uint32_t frag_len; member in struct:hm_header_st [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_attr_build.c | 459 size_t frag_len = end - pos; local 460 if (frag_len > 251) 461 frag_len = 251; 463 wpabuf_put_u8(ie, 4 + frag_len); 465 wpabuf_put_data(ie, pos, frag_len); 466 pos += frag_len;
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_group.c | 194 size_t frag_len = end - pos; local 195 if (frag_len > 251) 196 frag_len = 251; 198 wpabuf_put_u8(ie, 4 + frag_len); 200 wpabuf_put_data(ie, pos, frag_len); 201 pos += frag_len; 271 size_t frag_len = end - pos; local 272 if (frag_len > 251) 273 frag_len = 251; 275 wpabuf_put_u8(ie, 4 + frag_len); [all...] |
p2p_sd.c | 624 size_t frag_len, max_len; local 653 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; 654 if (frag_len > max_len) { 655 frag_len = max_len; 661 p2p->sd_resp_pos, frag_len, 666 p2p_dbg(p2p, "Send GAS Comeback Response (frag_id %d more=%d frag_len=%d)", 667 p2p->sd_frag_id, more, (int) frag_len); 669 p2p->sd_resp_pos += frag_len;
|
/device/google/marlin/recovery/oem-recovery/ |
dec.cpp | 71 uint32_t frag_len; member in struct:smcmod_decrypt_req::__anon3223::__anon3225 274 req.request.img_frag.frag_len = len - offset;
|
/system/bt/stack/avdt/ |
avdt_scb_act.c | 438 UINT16 frag_len; /* fragment length */ local 478 frag_len = (UINT16)(p_end - p); 480 if(frag_len >= al_len) 481 frag_len = al_len; 491 p = avdt_scb_hdl_report(p_scb, p, frag_len); 565 AVDT_TRACE_DEBUG("Received fragment org_len=%d off=%d al_len=%d frag_len=%d", 566 p_scb->frag_org_len, p_scb->frag_off, al_len, frag_len); 569 memcpy(p_scb->p_media_buf + p_scb->frag_off, p, frag_len); 570 p_scb->frag_off += frag_len; 572 p += frag_len; [all...] |
/external/wpa_supplicant_8/src/ap/ |
gas_serv.c | 1352 size_t frag_len; local [all...] |