Lines Matching defs:cbb

88 tls13_client_hello_build(struct tls13_ctx *ctx, CBB *cbb)
98 if (!CBB_add_u16(cbb, client_version))
100 if (!CBB_add_bytes(cbb, s->s3->client_random, SSL3_RANDOM_SIZE))
103 if (!CBB_add_u8_length_prefixed(cbb, &session_id))
109 if (!CBB_add_u16_length_prefixed(cbb, &cipher_suites))
116 if (!CBB_add_u8_length_prefixed(cbb, &compression_methods))
121 if (!tlsext_client_build(s, SSL_TLSEXT_MSG_CH, cbb))
124 if (!CBB_flush(cbb))
134 tls13_client_hello_send(struct tls13_ctx *ctx, CBB *cbb)
142 if (!tls13_client_hello_build(ctx, cbb))
436 tls13_client_hello_retry_send(struct tls13_ctx *ctx, CBB *cbb)
456 if (!tls13_client_hello_build(ctx, cbb))
643 CBB cbb;
646 memset(&cbb, 0, sizeof(cbb));
653 if (!CBB_init(&cbb, 0))
655 if (!CBB_add_bytes(&cbb, tls13_cert_verify_pad,
658 if (!CBB_add_bytes(&cbb, tls13_cert_server_verify_context,
661 if (!CBB_add_u8(&cbb, 0))
663 if (!CBB_add_bytes(&cbb, ctx->hs->tls13.transcript_hash,
666 if (!CBB_finish(&cbb, &sig_content, &sig_content_len))
702 CBB_cleanup(&cbb);
860 tls13_client_certificate_send(struct tls13_ctx *ctx, CBB *cbb)
876 if (!CBB_add_u8_length_prefixed(cbb, &cert_request_context))
878 if (!CBB_add_u24_length_prefixed(cbb, &cert_list))
899 if (!CBB_flush(cbb))
909 tls13_client_certificate_verify_send(struct tls13_ctx *ctx, CBB *cbb)
962 if (!CBB_add_u16(cbb, sigalg->value))
964 if (!CBB_add_u16_length_prefixed(cbb, &sig_cbb))
969 if (!CBB_flush(cbb))
987 tls13_client_end_of_early_data_send(struct tls13_ctx *ctx, CBB *cbb)
993 tls13_client_finished_send(struct tls13_ctx *ctx, CBB *cbb)
1028 if (!CBB_add_space(cbb, &verify_data, verify_data_len))