Home
last modified time | relevance | path

Searched refs:init_buf (Results 1 – 14 of 14) sorted by relevance

/external/boringssl/src/ssl/
Ds3_both.c139 n = ssl3_write_bytes(ssl, type, &ssl->init_buf->data[ssl->init_off], in ssl3_do_write()
147 ssl->msg_callback(1, ssl->version, type, ssl->init_buf->data, in ssl3_do_write()
289 *((uint8_t *)ssl->init_buf->data) = SSL3_MT_CCS; in ssl3_send_change_cipher_spec()
339 ssl->init_msg = (uint8_t *)ssl->init_buf->data + 4; in ssl3_get_message()
344 p = (uint8_t *)ssl->init_buf->data; in ssl3_get_message()
392 if (l && !BUF_MEM_grow_clean(ssl->init_buf, l + 4)) { in ssl3_get_message()
399 ssl->init_msg = (uint8_t *)ssl->init_buf->data + 4; in ssl3_get_message()
423 ssl->msg_callback(0, ssl->version, SSL3_RT_HANDSHAKE, ssl->init_buf->data, in ssl3_get_message()
440 size_t header_len = ssl->init_msg - (uint8_t *)ssl->init_buf->data; in ssl3_hash_current_message()
441 return ssl3_update_handshake_hash(ssl, (uint8_t *)ssl->init_buf->data, in ssl3_hash_current_message()
Dd1_both.c379 &cbb, (const uint8_t *)ssl->init_buf->data + ssl->init_off, todo) || in dtls1_do_handshake_write()
397 1 /* write */, ssl->version, SSL3_RT_HANDSHAKE, ssl->init_buf->data, in dtls1_do_handshake_write()
596 ssl->init_msg = (uint8_t *)ssl->init_buf->data + DTLS1_HM_HEADER_LENGTH; in dtls1_get_message()
626 if (!BUF_MEM_grow(ssl->init_buf, (size_t)frag->msg_header.msg_len + in dtls1_get_message()
628 !CBB_init_fixed(&cbb, (uint8_t *)ssl->init_buf->data, in dtls1_get_message()
629 ssl->init_buf->max) || in dtls1_get_message()
649 ssl->init_msg = (uint8_t *)ssl->init_buf->data + DTLS1_HM_HEADER_LENGTH; in dtls1_get_message()
661 ssl->msg_callback(0, ssl->version, SSL3_RT_HANDSHAKE, ssl->init_buf->data, in dtls1_get_message()
734 memcpy(ssl->init_buf->data, frag->fragment, in dtls1_retransmit_message()
803 memcpy(frag->fragment, ssl->init_buf->data, ssl->init_num); in dtls1_buffer_message()
Ds3_srvr.c213 if (ssl->init_buf == NULL) { in ssl3_accept()
219 ssl->init_buf = buf; in ssl3_accept()
548 BUF_MEM_free(ssl->init_buf); in ssl3_accept()
549 ssl->init_buf = NULL; in ssl3_accept()
713 if (!CBB_init_fixed(&client_hello, (uint8_t *)ssl->init_buf->data, in ssl3_get_v2_client_hello()
714 ssl->init_buf->max) || in ssl3_get_v2_client_hello()
1146 ssl->init_buf->max - SSL_HM_HEADER_LENGTH(ssl)) || in ssl3_send_server_hello()
1173 ssl->init_buf->max - SSL_HM_HEADER_LENGTH(ssl)) || in ssl3_send_certificate_status()
1211 ssl->init_buf->max - SSL_HM_HEADER_LENGTH(ssl))) { in ssl3_send_server_key_exchange()
1397 buf = ssl->init_buf; in ssl3_send_certificate_request()
[all …]
Dd1_srvr.c164 if (ssl->init_buf == NULL) { in dtls1_accept()
170 ssl->init_buf = buf; in dtls1_accept()
Ds3_clnt.c205 if (ssl->init_buf == NULL) { in ssl3_connect()
213 ssl->init_buf = buf; in ssl3_connect()
540 BUF_MEM_free(ssl->init_buf); in ssl3_connect()
541 ssl->init_buf = NULL; in ssl3_connect()
703 ssl->init_buf->max - SSL_HM_HEADER_LENGTH(ssl)) || in ssl3_send_client_hello()
1584 ssl->init_buf->max - SSL_HM_HEADER_LENGTH(ssl))) { in ssl3_send_client_key_exchange()
1785 ssl->init_buf->max - SSL_HM_HEADER_LENGTH(ssl))) { in ssl3_send_cert_verify()
1976 ssl->init_buf->max - SSL_HM_HEADER_LENGTH(ssl)) || in ssl3_send_next_proto()
2050 ssl->init_buf->max - SSL_HM_HEADER_LENGTH(ssl)) || in ssl3_send_channel_id()
Dd1_clnt.c166 if (ssl->init_buf == NULL) { in dtls1_connect()
173 ssl->init_buf = buf; in dtls1_connect()
Ds3_lib.c185 uint8_t *p = (uint8_t *)ssl->init_buf->data; in ssl3_set_handshake_header()
192 return ssl3_update_handshake_hash(ssl, (uint8_t *)ssl->init_buf->data, in ssl3_set_handshake_header()
Dd1_lib.c311 uint8_t *message = (uint8_t *)ssl->init_buf->data; in dtls1_set_handshake_header()
Dssl_cert.c427 BUF_MEM *buf = ssl->init_buf; in ssl_add_cert_chain()
Dssl_lib.c480 BUF_MEM_free(ssl->init_buf); in SSL_free()
2608 BUF_MEM_free(ssl->init_buf); in SSL_clear()
2609 ssl->init_buf = NULL; in SSL_clear()
Dinternal.h863 (((uint8_t *)ssl->init_buf->data) + ssl->method->hhlen)
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dsocket_ops.hpp113 ASIO_DECL void init_buf(buf& b, void* data, size_t size);
115 ASIO_DECL void init_buf(buf& b, const void* data, size_t size);
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dsocket_ops.ipp529 void init_buf(buf& b, void* data, size_t size)
535 void init_buf(buf& b, const void* data, size_t size)
/external/boringssl/src/include/openssl/
Dssl.h3758 BUF_MEM *init_buf; /* buffer used during init */ member