Lines Matching refs:cbb
59 ScopedCBB cbb; in tls13_get_cert_verify_signature_input() local
60 if (!CBB_init(cbb.get(), 64 + 33 + 1 + 2 * EVP_MAX_MD_SIZE)) { in tls13_get_cert_verify_signature_input()
66 if (!CBB_add_u8(cbb.get(), 0x20)) { in tls13_get_cert_verify_signature_input()
88 if (!CBB_add_bytes(cbb.get(), in tls13_get_cert_verify_signature_input()
98 !CBB_add_bytes(cbb.get(), context_hash, context_hash_len) || in tls13_get_cert_verify_signature_input()
99 !CBBFinishArray(cbb.get(), out)) { in tls13_get_cert_verify_signature_input()
417 ScopedCBB cbb; in tls13_add_certificate() local
421 if (!CBB_init(cbb.get(), 1024)) { in tls13_add_certificate()
424 body = cbb.get(); in tls13_add_certificate()
427 if (!ssl->method->init_message(ssl, cbb.get(), body, SSL3_MT_CERTIFICATE)) { in tls13_add_certificate()
440 return ssl_add_message_cbb(ssl, cbb.get()); in tls13_add_certificate()
509 return ssl_add_message_cbb(ssl, cbb.get()); in tls13_add_certificate()
513 if (!CBBFinishArray(cbb.get(), &msg)) { in tls13_add_certificate()
533 if (!ssl->method->init_message(ssl, cbb.get(), body, in tls13_add_certificate()
539 !ssl_add_message_cbb(ssl, cbb.get())) { in tls13_add_certificate()
555 ScopedCBB cbb; in tls13_add_certificate_verify() local
557 if (!ssl->method->init_message(ssl, cbb.get(), &body, in tls13_add_certificate_verify()
590 !ssl_add_message_cbb(ssl, cbb.get())) { in tls13_add_certificate_verify()
608 ScopedCBB cbb; in tls13_add_finished() local
610 if (!ssl->method->init_message(ssl, cbb.get(), &body, SSL3_MT_FINISHED) || in tls13_add_finished()
612 !ssl_add_message_cbb(ssl, cbb.get())) { in tls13_add_finished()
620 ScopedCBB cbb; in tls13_add_key_update() local
622 if (!ssl->method->init_message(ssl, cbb.get(), &body_cbb, in tls13_add_key_update()
625 !ssl_add_message_cbb(ssl, cbb.get()) || in tls13_add_key_update()