Searched refs:init_buf (Results 1 - 11 of 11) sorted by relevance

/freebsd-12-stable/crypto/heimdal/appl/test/
H A Dgssapi_client.c114 u_char init_buf[4]; local
173 init_buf[0] = (local.sin_addr.s_addr >> 24) & 0xFF;
174 init_buf[1] = (local.sin_addr.s_addr >> 16) & 0xFF;
175 init_buf[2] = (local.sin_addr.s_addr >> 8) & 0xFF;
176 init_buf[3] = (local.sin_addr.s_addr >> 0) & 0xFF;
177 input_chan_bindings.initiator_address.value = init_buf;
H A Dgssapi_server.c148 u_char init_buf[4]; local
165 init_buf[0] = (remote.sin_addr.s_addr >> 24) & 0xFF;
166 init_buf[1] = (remote.sin_addr.s_addr >> 16) & 0xFF;
167 init_buf[2] = (remote.sin_addr.s_addr >> 8) & 0xFF;
168 init_buf[3] = (remote.sin_addr.s_addr >> 0) & 0xFF;
170 input_chan_bindings.initiator_address.value = init_buf;
/freebsd-12-stable/crypto/openssl/ssl/statem/
H A Dstatem_dtls.c109 * send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or
238 (unsigned char *)&s->init_buf->
242 ret = dtls1_write_bytes(s, type, &s->init_buf->data[s->init_off], len,
278 (unsigned char *)&s->init_buf->data[s->init_off];
305 s->msg_callback(1, s->version, type, s->init_buf->data,
354 p = (unsigned char *)s->init_buf->data;
400 s->init_msg = s->init_buf->data + DTLS1_HM_HEADER_LENGTH;
439 if (!BUF_MEM_grow_clean(s->init_buf, msg_len + DTLS1_HM_HEADER_LENGTH)) {
472 * (1) copy over the fragment to s->init_buf->data[]
509 (unsigned char *)s->init_buf
[all...]
H A Dstatem.c377 if (s->init_buf == NULL) {
388 s->init_buf = buf;
499 size_t msg_offset = (char *)s->init_msg - s->init_buf->data;
501 if (!BUF_MEM_grow_clean(s->init_buf, (int)size))
507 s->init_msg = s->init_buf->data + msg_offset;
836 if (!WPACKET_init(&pkt, s->init_buf)
H A Dstatem_lib.c38 * send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or
46 ret = ssl3_write_bytes(s, type, &s->init_buf->data[s->init_off],
60 (unsigned char *)&s->init_buf->data[s->init_off],
65 s->msg_callback(1, s->version, type, s->init_buf->data,
1029 * in NBIO events. If |clearbufs| is set then init_buf and the wbio buffer is
1044 * Hence the init_buf can be cleared when DTLS over SCTP as transport is used.
1050 * We don't do this in DTLS over UDP because we may still need the init_buf
1053 BUF_MEM_free(s->init_buf);
1054 s->init_buf = NULL;
1156 p = (unsigned char *)s->init_buf
[all...]
H A Dextensions_srvr.c1253 binderoffset = PACKET_data(pkt) - (const unsigned char *)s->init_buf->data;
1275 if (tls_psk_do_binder(s, md, (const unsigned char *)s->init_buf->data,
H A Dstatem_srvr.c2820 s->init_buf->data + paramoffset,
4004 (unsigned char *)s->init_buf->data + macoffset,
H A Dstatem_clnt.c1802 if (!ssl3_finish_mac(s, (unsigned char *)s->init_buf->data,
/freebsd-12-stable/sys/netinet/
H A Dsctp_input.c1434 struct sctp_init_chunk *init_cp, init_buf; local
1482 (uint8_t *)&init_buf);
2013 struct sctp_init_chunk *init_cp, init_buf; local
2030 (uint8_t *)&init_buf);
/freebsd-12-stable/crypto/openssl/ssl/
H A Dssl_lib.c611 BUF_MEM_free(s->init_buf);
612 s->init_buf = NULL;
1168 BUF_MEM_free(s->init_buf);
H A Dssl_local.h1116 BUF_MEM *init_buf; /* buffer used during init */ member in struct:ssl_st

Completed in 220 milliseconds