Searched refs:init_buf (Results 1 – 12 of 12) sorted by relevance
/external/boringssl/src/ssl/ |
D | s3_both.c | 137 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 …]
|
D | d1_both.c | 342 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 …]
|
D | d1_srvr.c | 167 if (s->init_buf == NULL) { in dtls1_accept() 173 s->init_buf = buf; in dtls1_accept()
|
D | s3_srvr.c | 215 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()
|
D | d1_clnt.c | 163 if (s->init_buf == NULL) { in dtls1_connect() 170 s->init_buf = buf; in dtls1_connect()
|
D | s3_clnt.c | 201 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()
|
D | s3_lib.c | 182 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()
|
D | d1_lib.c | 309 uint8_t *message = (uint8_t *)s->init_buf->data; in dtls1_set_handshake_header()
|
D | ssl_lib.c | 206 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()
|
D | ssl_cert.c | 776 BUF_MEM *buf = s->init_buf; in ssl_add_cert_chain()
|
D | internal.h | 673 (((uint8_t *)s->init_buf->data) + s->method->hhlen)
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 1341 BUF_MEM *init_buf; /* buffer used during init */ member
|