Lines Matching refs:init_buf

79         if (!s->statem.mutate_handshake_cb((unsigned char *)s->init_buf->data,  in ssl3_do_write()
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()
109 (unsigned char *)&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()
1635 s->init_msg = s->init_buf->data + SSL3_HM_HEADER_LENGTH; in tls_get_message_header()
1674 if (*(s->init_buf->data) == SSL3_MT_FINISHED && !ssl3_take_mac(s)) { in tls_get_message_body()
1682 if (!ssl3_finish_mac(s, (unsigned char *)s->init_buf->data, in tls_get_message_body()
1689 s->msg_callback(0, SSL2_VERSION, 0, s->init_buf->data, in tls_get_message_body()
1706 s->init_buf->data + SERVER_HELLO_RANDOM_OFFSET, in tls_get_message_body()
1708 if (!ssl3_finish_mac(s, (unsigned char *)s->init_buf->data, in tls_get_message_body()
1717 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, s->init_buf->data, in tls_get_message_body()
2646 || !ssl3_finish_mac(s, (unsigned char *)s->init_buf->data, in create_synthetic_message_hash()