Lines Matching refs:cbb
193 static int SSL_SESSION_to_bytes_full(const SSL_SESSION *in, CBB *cbb, in SSL_SESSION_to_bytes_full() argument
200 if (!CBB_add_asn1(cbb, &session, CBS_ASN1_SEQUENCE) || in SSL_SESSION_to_bytes_full()
392 return CBB_flush(cbb); in SSL_SESSION_to_bytes_full()
743 int ssl_session_serialize(const SSL_SESSION *in, CBB *cbb) { in ssl_session_serialize() argument
744 return SSL_SESSION_to_bytes_full(in, cbb, 0); in ssl_session_serialize()
769 ScopedCBB cbb; in SSL_SESSION_to_bytes() local
770 if (!CBB_init(cbb.get(), 256) || in SSL_SESSION_to_bytes()
771 !SSL_SESSION_to_bytes_full(in, cbb.get(), 0) || in SSL_SESSION_to_bytes()
772 !CBB_finish(cbb.get(), out_data, out_len)) { in SSL_SESSION_to_bytes()
781 ScopedCBB cbb; in SSL_SESSION_to_bytes_for_ticket() local
782 if (!CBB_init(cbb.get(), 256) || in SSL_SESSION_to_bytes_for_ticket()
783 !SSL_SESSION_to_bytes_full(in, cbb.get(), 1) || in SSL_SESSION_to_bytes_for_ticket()
784 !CBB_finish(cbb.get(), out_data, out_len)) { in SSL_SESSION_to_bytes_for_ticket()