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

/freebsd-11-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-11-stable/crypto/openssl/ssl/
H A Ds3_both.c128 * send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or
135 ret = ssl3_write_bytes(s, type, &s->init_buf->data[s->init_off],
144 ssl3_finish_mac(s, (unsigned char *)&s->init_buf->data[s->init_off],
149 s->msg_callback(1, s->version, type, s->init_buf->data,
310 p = (unsigned char *)s->init_buf->data;
359 s->init_msg = s->init_buf->data + SSL3_HM_HEADER_LENGTH;
364 p = (unsigned char *)s->init_buf->data;
425 && !BUF_MEM_grow_clean(s->init_buf,
433 s->init_msg = s->init_buf->data + SSL3_HM_HEADER_LENGTH;
457 if (*s->init_buf
[all...]
H A Ds2_srvr.c190 if (s->init_buf == NULL) {
201 s->init_buf = buf;
334 BUF_MEM_free(s->init_buf);
336 s->init_buf = NULL;
386 p = (unsigned char *)s->init_buf->data;
428 p = (unsigned char *)s->init_buf->data;
429 if (s->init_buf->length < SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER) {
576 p = (unsigned char *)s->init_buf->data;
615 p = (unsigned char *)s->init_buf->data;
744 p = (unsigned char *)s->init_buf
[all...]
H A Ds23_pkt.c74 buf = s->init_buf->data;
H A Ds2_clnt.c182 buf = s->init_buf;
188 if (buf == s->init_buf)
193 s->init_buf = buf;
285 if (s->init_buf != NULL) {
286 BUF_MEM_free(s->init_buf);
287 s->init_buf = NULL;
342 buf = (unsigned char *)s->init_buf->data;
542 buf = (unsigned char *)s->init_buf->data;
606 buf = (unsigned char *)s->init_buf->data;
709 p = (unsigned char *)s->init_buf
[all...]
H A Ds23_srvr.c185 if (s->init_buf == NULL) {
195 s->init_buf = buf;
476 d = (unsigned char *)s->init_buf->data;
535 i = (d - (unsigned char *)s->init_buf->data) - 4;
538 /* get the data reused from the init_buf */
567 if (!BUF_MEM_grow_clean(s->init_buf,
H A Ds23_clnt.c189 if (s->init_buf == NULL) {
198 s->init_buf = buf;
379 buf = (unsigned char *)s->init_buf->data;
606 s->msg_callback(1, SSL2_VERSION, 0, s->init_buf->data + 2,
609 s->msg_callback(1, version, SSL3_RT_HEADER, s->init_buf->data, 5,
612 s->init_buf->data + 5, ret - 5, s,
677 if (!BUF_MEM_grow_clean(s->init_buf,
H A Dd1_both.c261 * send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or
388 (unsigned char *)&s->init_buf->
392 ret = dtls1_write_bytes(s, type, &s->init_buf->data[s->init_off],
427 (unsigned char *)&s->init_buf->data[s->init_off];
453 s->msg_callback(1, s->version, type, s->init_buf->data,
503 s->init_msg = s->init_buf->data + DTLS1_HM_HEADER_LENGTH;
537 p = (unsigned char *)s->init_buf->data;
558 s->init_msg = s->init_buf->data + DTLS1_HM_HEADER_LENGTH;
596 (s->init_buf, msg_len + DTLS1_HM_HEADER_LENGTH + 16)) {
623 * (1) copy over the fragment to s->init_buf
[all...]
H A Dd1_srvr.c242 if (s->init_buf == NULL) {
254 s->init_buf = buf;
870 BUF_MEM_free(s->init_buf);
871 s->init_buf = NULL;
952 buf = (unsigned char *)s->init_buf->data;
H A Dd1_clnt.c240 if (s->init_buf == NULL) {
251 s->init_buf = buf;
744 if (s->init_buf != NULL) {
745 BUF_MEM_free(s->init_buf);
746 s->init_buf = NULL;
H A Ds2_pkt.c664 p = (unsigned char *)s->init_buf->data;
687 ret = ssl2_write(s, &s->init_buf->data[s->init_off], s->init_num);
690 s->msg_callback(1, s->version, 0, s->init_buf->data,
H A Ds3_srvr.c274 if (s->init_buf == NULL) {
286 s->init_buf = buf;
840 BUF_MEM_free(s->init_buf);
841 s->init_buf = NULL;
1505 buf = (unsigned char *)s->init_buf->data;
1642 buf = s->init_buf;
2080 buf = s->init_buf;
2160 p = (unsigned char *)s->init_buf->data + s->init_num;
2767 p = (unsigned char *)s->init_buf->data;
3505 if (!BUF_MEM_grow(s->init_buf,
[all...]
H A Dd1_lib.c577 unsigned char *p = (unsigned char *)s->init_buf->data;
H A Ds3_clnt.c249 if (s->init_buf == NULL) {
260 s->init_buf = buf;
612 if (s->init_buf != NULL) {
613 BUF_MEM_free(s->init_buf);
614 s->init_buf = NULL;
689 buf = (unsigned char *)s->init_buf->data;
3755 d = (unsigned char *)s->init_buf->data;
H A Dssl_lib.c237 if (s->init_buf != NULL) {
238 BUF_MEM_free(s->init_buf);
239 s->init_buf = NULL;
600 if (s->init_buf != NULL)
601 BUF_MEM_free(s->init_buf);
2966 ret->init_num = 0; /* would have to copy ret->init_buf,
H A Dssl_cert.c1081 BUF_MEM *buf = s->init_buf;
H A Dssl_locl.h812 (((unsigned char *)s->init_buf->data) + s->method->ssl3_enc->hhlen)
H A Dssl.h1483 BUF_MEM *init_buf; /* buffer used during init */ member in struct:ssl_st
H A Ds3_lib.c3041 unsigned char *p = (unsigned char *)s->init_buf->data;
H A Dt1_lib.c1629 int hlen = ret - (unsigned char *)s->init_buf->data;
/freebsd-11-stable/sys/netinet/
H A Dsctp_input.c1522 struct sctp_init_chunk *init_cp, init_buf; local
1565 (uint8_t *)&init_buf);
2093 struct sctp_init_chunk *init_cp, init_buf; local
2115 (uint8_t *)&init_buf);

Completed in 238 milliseconds