Home
last modified time | relevance | path

Searched refs:hs_buf (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/ssl/
Ds3_both.cc420 if (!ssl->s3->hs_buf) { in read_v2_client_hello()
421 ssl->s3->hs_buf.reset(BUF_MEM_new()); in read_v2_client_hello()
423 if (!ssl->s3->hs_buf || in read_v2_client_hello()
424 !BUF_MEM_reserve(ssl->s3->hs_buf.get(), max_v3_client_hello) || in read_v2_client_hello()
425 !CBB_init_fixed(client_hello.get(), (uint8_t *)ssl->s3->hs_buf->data, in read_v2_client_hello()
426 ssl->s3->hs_buf->max) || in read_v2_client_hello()
459 !CBB_finish(client_hello.get(), NULL, &ssl->s3->hs_buf->length)) { in read_v2_client_hello()
471 if (!ssl->s3->hs_buf) { in parse_message()
478 CBS_init(&cbs, reinterpret_cast<const uint8_t *>(ssl->s3->hs_buf->data), in parse_message()
479 ssl->s3->hs_buf->length); in parse_message()
[all …]
Dhandoff.cc66 reinterpret_cast<uint8_t *>(s3->hs_buf->data), in SSL_serialize_handoff()
67 s3->hs_buf->length) || in SSL_serialize_handoff()
193 CBS transcript, hs_buf; in SSL_apply_handoff() local
195 !CBS_get_asn1(&seq, &hs_buf, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff()
206 s3->hs_buf.reset(BUF_MEM_new()); in SSL_apply_handoff()
207 if (!s3->hs_buf || in SSL_apply_handoff()
208 !BUF_MEM_append(s3->hs_buf.get(), CBS_data(&hs_buf), CBS_len(&hs_buf))) { in SSL_apply_handoff()
Dtls_method.cc79 if (ssl->s3->hs_buf && ssl->s3->hs_buf->length == 0) { in ssl3_on_handshake_complete()
80 ssl->s3->hs_buf.reset(); in ssl3_on_handshake_complete()
Dssl_lib.cc865 size_t new_len = (ssl->s3->hs_buf ? ssl->s3->hs_buf->length : 0) + len; in SSL_provide_quic_data()
Dinternal.h2248 UniquePtr<BUF_MEM> hs_buf;