Home | History | Annotate | Download | only in ssl

Lines Matching refs:cbb

200 static int SSL_SESSION_to_bytes_full(const SSL_SESSION *in, CBB *cbb,
206 CBB session, child, child2;
207 if (!CBB_add_asn1(cbb, &session, CBS_ASN1_SEQUENCE) ||
398 return CBB_flush(cbb);
759 int ssl_session_serialize(const SSL_SESSION *in, CBB *cbb) {
760 return SSL_SESSION_to_bytes_full(in, cbb, 0);
785 ScopedCBB cbb;
786 if (!CBB_init(cbb.get(), 256) ||
787 !SSL_SESSION_to_bytes_full(in, cbb.get(), 0) ||
788 !CBB_finish(cbb.get(), out_data, out_len)) {
797 ScopedCBB cbb;
798 if (!CBB_init(cbb.get(), 256) ||
799 !SSL_SESSION_to_bytes_full(in, cbb.get(), 1) ||
800 !CBB_finish(cbb.get(), out_data, out_len)) {