Home | History | Annotate | Download | only in ssl

Lines Matching refs:cbb

324   CBB cbb;
325 CBB_zero(&cbb);
372 if (!CBB_init_fixed(&cbb, buf, ssl->d1->mtu) ||
373 !CBB_add_u8(&cbb, ssl->d1->w_msg_hdr.type) ||
374 !CBB_add_u24(&cbb, ssl->d1->w_msg_hdr.msg_len) ||
375 !CBB_add_u16(&cbb, ssl->d1->w_msg_hdr.seq) ||
376 !CBB_add_u24(&cbb, ssl->init_off - DTLS1_HM_HEADER_LENGTH) ||
377 !CBB_add_u24(&cbb, todo) ||
379 &cbb, (const uint8_t *)ssl->init_buf->data + ssl->init_off, todo) ||
380 !CBB_finish(&cbb, NULL, &len)) {
407 CBB_cleanup(&cbb);
624 CBB cbb;
625 CBB_zero(&cbb);
628 !CBB_init_fixed(&cbb, (uint8_t *)ssl->init_buf->data,
630 !CBB_add_u8(&cbb, frag->msg_header.type) ||
631 !CBB_add_u24(&cbb, frag->msg_header.msg_len) ||
632 !CBB_add_u16(&cbb, frag->msg_header.seq) ||
633 !CBB_add_u24(&cbb, 0 /* frag_off */) ||
634 !CBB_add_u24(&cbb, frag->msg_header.msg_len) ||
635 !CBB_add_bytes(&cbb, frag->fragment, frag->msg_header.msg_len) ||
636 !CBB_finish(&cbb, NULL, &len)) {
637 CBB_cleanup(&cbb);