Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Ds3_both.c137 n = ssl3_write_bytes(s, type, &s->init_buf->data[s->init_off], s->init_num); in ssl3_do_write()
144 s->msg_callback(1, s->version, type, s->init_buf->data, in ssl3_do_write()
293 *((uint8_t *)s->init_buf->data) = SSL3_MT_CCS; in ssl3_send_change_cipher_spec()
310 if (!BUF_MEM_grow_clean(s->init_buf, l)) { in ssl3_output_cert_chain()
348 s->init_msg = (uint8_t *)s->init_buf->data + 4; in ssl3_get_message()
353 p = (uint8_t *)s->init_buf->data; in ssl3_get_message()
401 if (l && !BUF_MEM_grow_clean(s->init_buf, l + 4)) { in ssl3_get_message()
408 s->init_msg = (uint8_t *)s->init_buf->data + 4; in ssl3_get_message()
432 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, s->init_buf->data, in ssl3_get_message()
449 size_t header_len = s->init_msg - (uint8_t *)s->init_buf->data; in ssl3_hash_current_message()
[all …]
Dd1_both.c342 s, (uint8_t *)&s->init_buf->data[s->init_off]); in dtls1_do_write()
353 ret = dtls1_write_bytes(s, type, &s->init_buf->data[s->init_off], len, in dtls1_do_write()
365 s->msg_callback(1, s->version, type, s->init_buf->data, in dtls1_do_write()
570 s->init_msg = (uint8_t *)s->init_buf->data + DTLS1_HM_HEADER_LENGTH; in dtls1_get_message()
597 if (!BUF_MEM_grow(s->init_buf, in dtls1_get_message()
600 !CBB_init_fixed(&cbb, (uint8_t *)s->init_buf->data, s->init_buf->max)) { in dtls1_get_message()
626 s->init_msg = (uint8_t *)s->init_buf->data + DTLS1_HM_HEADER_LENGTH; in dtls1_get_message()
638 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, s->init_buf->data, in dtls1_get_message()
670 p = (uint8_t *)s->init_buf->data; in dtls1_send_change_cipher_spec()
737 memcpy(s->init_buf->data, frag->fragment, in dtls1_retransmit_message()
[all …]
Dd1_srvr.c167 if (s->init_buf == NULL) { in dtls1_accept()
173 s->init_buf = buf; in dtls1_accept()
Ds3_srvr.c215 if (s->init_buf == NULL) { in ssl3_accept()
221 s->init_buf = buf; in ssl3_accept()
540 BUF_MEM_free(s->init_buf); in ssl3_accept()
541 s->init_buf = NULL; in ssl3_accept()
750 if (!CBB_init_fixed(&client_hello, (uint8_t *)s->init_buf->data, in ssl3_get_v2_client_hello()
751 s->init_buf->max)) { in ssl3_get_v2_client_hello()
1160 buf = (uint8_t *)s->init_buf->data; in ssl3_send_server_hello()
1267 buf = s->init_buf; in ssl3_send_server_key_exchange()
1530 buf = s->init_buf; in ssl3_send_certificate_request()
2362 if (!BUF_MEM_grow(s->init_buf, SSL_HM_HEADER_LENGTH(s) + 6 + in ssl3_send_new_session_ticket()
Dd1_clnt.c163 if (s->init_buf == NULL) { in dtls1_connect()
170 s->init_buf = buf; in dtls1_connect()
Ds3_clnt.c201 if (s->init_buf == NULL) { in ssl3_connect()
209 s->init_buf = buf; in ssl3_connect()
533 BUF_MEM_free(s->init_buf); in ssl3_connect()
534 s->init_buf = NULL; in ssl3_connect()
585 buf = (uint8_t *)s->init_buf->data; in ssl3_send_client_hello()
1999 buf = (uint8_t *)s->init_buf->data; in ssl3_send_cert_verify()
Ds3_lib.c182 uint8_t *p = (uint8_t *)s->init_buf->data; in ssl3_set_handshake_header()
189 return ssl3_finish_mac(s, (uint8_t *)s->init_buf->data, s->init_num); in ssl3_set_handshake_header()
Dd1_lib.c309 uint8_t *message = (uint8_t *)s->init_buf->data; in dtls1_set_handshake_header()
Dssl_lib.c206 BUF_MEM_free(ssl->init_buf); in SSL_clear()
207 ssl->init_buf = NULL; in SSL_clear()
544 BUF_MEM_free(ssl->init_buf); in SSL_free()
Dssl_cert.c776 BUF_MEM *buf = s->init_buf; in ssl_add_cert_chain()
Dinternal.h673 (((uint8_t *)s->init_buf->data) + s->method->hhlen)
/external/boringssl/src/include/openssl/
Dssl.h1341 BUF_MEM *init_buf; /* buffer used during init */ member