Lines Matching defs:cbb

752 	CBB cbb, hello;
754 memset(&cbb, 0, sizeof(cbb));
757 if (!ssl3_handshake_msg_start(s, &cbb, &hello,
760 if (!ssl3_handshake_msg_finish(s, &cbb))
770 CBB_cleanup(&cbb);
1177 CBB cbb, verify, cookie;
1179 memset(&cbb, 0, sizeof(cbb));
1194 if (!ssl3_handshake_msg_start(s, &cbb, &verify,
1203 if (!ssl3_handshake_msg_finish(s, &cbb))
1213 CBB_cleanup(&cbb);
1221 CBB cbb, server_hello, session_id;
1224 memset(&cbb, 0, sizeof(cbb));
1227 if (!ssl3_handshake_msg_start(s, &cbb, &server_hello,
1283 if (!ssl3_handshake_msg_finish(s, &cbb))
1291 CBB_cleanup(&cbb);
1299 CBB cbb, done;
1301 memset(&cbb, 0, sizeof(cbb));
1304 if (!ssl3_handshake_msg_start(s, &cbb, &done,
1307 if (!ssl3_handshake_msg_finish(s, &cbb))
1317 CBB_cleanup(&cbb);
1323 ssl3_send_server_kex_dhe(SSL *s, CBB *cbb)
1363 if (!tls_key_share_params(s->s3->hs.key_share, cbb))
1365 if (!tls_key_share_public(s->s3->hs.key_share, cbb))
1381 ssl3_send_server_kex_ecdhe(SSL *s, CBB *cbb)
1402 if (!CBB_add_u8(cbb, NAMED_CURVE_TYPE))
1404 if (!CBB_add_u16(cbb, tls_key_share_group(s->s3->hs.key_share)))
1406 if (!CBB_add_u8_length_prefixed(cbb, &public))
1410 if (!CBB_flush(cbb))
1422 CBB cbb, cbb_signature, cbb_signed_params, server_kex;
1436 memset(&cbb, 0, sizeof(cbb));
1444 if (!ssl3_handshake_msg_start(s, &cbb, &server_kex,
1539 if (!ssl3_handshake_msg_finish(s, &cbb))
1555 CBB_cleanup(&cbb);
1566 CBB cbb, cert_request, cert_types, sigalgs, cert_auth, dn;
1575 memset(&cbb, 0, sizeof(cbb));
1578 if (!ssl3_handshake_msg_start(s, &cbb, &cert_request,
1615 if (!ssl3_handshake_msg_finish(s, &cbb))
1625 CBB_cleanup(&cbb);
2161 CBB cbb, server_cert;
2168 memset(&cbb, 0, sizeof(cbb));
2176 if (!ssl3_handshake_msg_start(s, &cbb, &server_cert,
2181 if (!ssl3_handshake_msg_finish(s, &cbb))
2191 CBB_cleanup(&cbb);
2200 CBB cbb, session_ticket, ticket;
2217 memset(&cbb, 0, sizeof(cbb));
2225 if (!ssl3_handshake_msg_start(s, &cbb, &session_ticket,
2308 if (!ssl3_handshake_msg_finish(s, &cbb))
2323 CBB_cleanup(&cbb);
2335 CBB cbb, certstatus, ocspresp;
2337 memset(&cbb, 0, sizeof(cbb));
2340 if (!ssl3_handshake_msg_start(s, &cbb, &certstatus,
2350 if (!ssl3_handshake_msg_finish(s, &cbb))
2360 CBB_cleanup(&cbb);
2369 CBB cbb;
2371 memset(&cbb, 0, sizeof(cbb));
2374 if (!CBB_init_fixed(&cbb, s->init_buf->data,
2377 if (!CBB_add_u8(&cbb, SSL3_MT_CCS))
2379 if (!CBB_finish(&cbb, NULL, &outlen))
2403 CBB_cleanup(&cbb);
2465 CBB cbb, finished;
2467 memset(&cbb, 0, sizeof(cbb));
2478 if (!ssl3_handshake_msg_start(s, &cbb, &finished,
2484 if (!ssl3_handshake_msg_finish(s, &cbb))
2493 CBB_cleanup(&cbb);