Searched refs:init_buf (Results 1 – 8 of 8) sorted by relevance
/openssl/ssl/statem/ |
H A D | statem_dtls.c | 221 (unsigned char *)&s->init_buf-> in dtls1_do_write() 271 (unsigned char *)&s->init_buf->data[s->init_off]; in dtls1_do_write() 298 s->msg_callback(1, s->version, type, s->init_buf->data, in dtls1_do_write() 347 p = (unsigned char *)s->init_buf->data; in dtls_get_message() 374 s->init_msg = s->init_buf->data + DTLS1_HM_HEADER_LENGTH; in dtls_get_message() 386 unsigned char *msg = (unsigned char *)s->init_buf->data; in dtls_get_message_body() 397 if (*(s->init_buf->data) == SSL3_MT_FINISHED && !ssl3_take_mac(s)) { in dtls_get_message_body() 818 p = (unsigned char *)s->init_buf->data; in dtls_get_reassembled_message() 849 s->init_msg = s->init_buf->data + 1; in dtls_get_reassembled_message() 1130 memcpy(frag->fragment, s->init_buf->data, s->init_num); in dtls1_buffer_message() [all …]
|
H A D | statem_lib.c | 85 || !BUF_MEM_grow(s->init_buf, msglen)) in ssl3_do_write() 87 memcpy(s->init_buf->data, msg, msglen); in ssl3_do_write() 89 s->init_msg = s->init_buf->data + SSL3_HM_HEADER_LENGTH; in ssl3_do_write() 94 ret = ssl3_write_bytes(ssl, type, &s->init_buf->data[s->init_off], in ssl3_do_write() 115 s->msg_callback(1, s->version, type, s->init_buf->data, in ssl3_do_write() 1434 BUF_MEM_free(s->init_buf); in tls_finish_handshake() 1435 s->init_buf = NULL; in tls_finish_handshake() 1541 p = (unsigned char *)s->init_buf->data; in tls_get_message_header() 1576 s->init_msg = s->init_buf->data; in tls_get_message_header() 1623 s->init_msg = s->init_buf->data; in tls_get_message_header() [all …]
|
H A D | statem.c | 432 if (s->init_buf == NULL) { in state_machine() 441 s->init_buf = buf; in state_machine() 546 size_t msg_offset = (char *)s->init_msg - s->init_buf->data; in grow_init_buf() 548 if (!BUF_MEM_grow_clean(s->init_buf, (int)size)) in grow_init_buf() 554 s->init_msg = s->init_buf->data + msg_offset; in grow_init_buf() 888 if (!WPACKET_init(&pkt, s->init_buf) in write_state_machine()
|
H A D | extensions_srvr.c | 1229 binderoffset = PACKET_data(pkt) - (const unsigned char *)s->init_buf->data; in tls_parse_ctos_psk() 1250 if (tls_psk_do_binder(s, md, (const unsigned char *)s->init_buf->data, in tls_parse_ctos_psk()
|
H A D | statem_srvr.c | 2794 s->init_buf->data + paramoffset, in tls_construct_server_key_exchange() 4106 (unsigned char *)s->init_buf->data + macoffset, in construct_stateless_ticket()
|
H A D | statem_clnt.c | 1876 if (!ssl3_finish_mac(s, (unsigned char *)s->init_buf->data, in tls_process_as_hello_retry_request()
|
/openssl/ssl/ |
H A D | ssl_lib.c | 613 BUF_MEM_free(sc->init_buf); in ossl_ssl_connection_reset() 614 sc->init_buf = NULL; in ossl_ssl_connection_reset() 1423 BUF_MEM_free(s->init_buf); in ossl_ssl_connection_free()
|
H A D | ssl_local.h | 1264 BUF_MEM *init_buf; /* buffer used during init */ member
|
Completed in 79 milliseconds