Home
last modified time | relevance | path

Searched refs:wbuf (Results 1 – 10 of 10) sorted by relevance

/openssl/ssl/quic/
H A Djson_enc.c25 if (wbuf->buf == NULL) in wbuf_init()
28 wbuf->cur = 0; in wbuf_init()
29 wbuf->alloc = alloc; in wbuf_init()
30 wbuf->bio = bio; in wbuf_init()
37 wbuf->buf = NULL; in wbuf_cleanup()
38 wbuf->alloc = 0; in wbuf_cleanup()
43 wbuf->bio = bio; in wbuf_set0_bio()
49 wbuf->cur = 0; in wbuf_clean()
55 return wbuf->alloc - wbuf->cur; in wbuf_avail()
66 wbuf->buf[wbuf->cur++] = c; in wbuf_write_char()
[all …]
/openssl/ssl/
H A Dd1_lib.c424 unsigned char *buf = NULL, *wbuf; in DTLSv1_listen() local
469 wbuf = OPENSSL_malloc(DTLS1_RT_HEADER_LENGTH + SSL3_RT_MAX_PLAIN_LENGTH); in DTLSv1_listen()
470 if (wbuf == NULL) { in DTLSv1_listen()
683 wbuf, in DTLSv1_listen()
745 memcpy(&wbuf[DTLS1_RT_HEADER_LENGTH + 1], in DTLSv1_listen()
746 &wbuf[DTLS1_RT_HEADER_LENGTH + DTLS1_HM_HEADER_LENGTH - 3], in DTLSv1_listen()
770 if (BIO_write(wbio, wbuf, wreclen) < (int)wreclen) { in DTLSv1_listen()
848 OPENSSL_free(wbuf); in DTLSv1_listen()
/openssl/apps/
H A Ds_server.c292 EBCDIC_OUTBUFF *wbuf; in ebcdic_new() local
294 wbuf = app_malloc(sizeof(*wbuf) + 1024, "ebcdic wbuf"); in ebcdic_new()
295 wbuf->alloced = 1024; in ebcdic_new()
296 wbuf->buff[0] = '\0'; in ebcdic_new()
298 BIO_set_data(bi, wbuf); in ebcdic_new()
305 EBCDIC_OUTBUFF *wbuf; in ebcdic_free() local
309 wbuf = BIO_get_data(a); in ebcdic_free()
310 OPENSSL_free(wbuf); in ebcdic_free()
335 EBCDIC_OUTBUFF *wbuf; in ebcdic_write() local
351 OPENSSL_free(wbuf); in ebcdic_write()
[all …]
/openssl/test/
H A Dsslbuffertest.c53 return rrl->rbuf.buf != NULL && wrl->wbuf[0].buf != NULL; in checkbuffers()
55 return rrl->rbuf.buf == NULL && wrl->wbuf[0].buf == NULL; in checkbuffers()
/openssl/include/internal/
H A Djson_enc.h38 struct json_write_buf wbuf; member
/openssl/ssl/record/methods/
H A Dtls_common.c131 wb = &rl->wbuf[pipes - 1]; in tls_release_write_buffer_int()
181 wb = rl->wbuf; in tls_setup_write_buffer()
1775 &prefixtempl, pkt, rl->wbuf, in tls_write_records_default()
1876 TLS_BUFFER_set_left(&rl->wbuf[j], TLS_RL_RECORD_get_length(thiswr)); in tls_write_records_default()
1891 || TLS_BUFFER_get_left(&rl->wbuf[rl->nextwbuf]) == 0)) { in tls_write_records()
1916 thiswb = &rl->wbuf[rl->nextwbuf]; in tls_retry_write_records()
2115 TLS_BUFFER_set_left(&rl->wbuf[0], 0); in tls_alloc_buffers()
2139 || TLS_BUFFER_get_left(&rl->wbuf[0]) != 0) in tls_free_buffers()
H A Dtls_multib.c119 wb = &rl->wbuf[0]; in tls_write_records_multiblock_int()
H A Drecmethod_local.h243 TLS_BUFFER wbuf[SSL_MAX_PIPELINES + 1]; member
/openssl/crypto/bio/
H A Dbss_dgram.c1341 WSABUF wbuf; in dgram_sendmmsg() local
1445 translate_msg_win(b, &wmsg, &wbuf, control, msg); in dgram_sendmmsg()
1542 WSABUF wbuf; in dgram_recvmmsg() local
1675 translate_msg_win(b, &wmsg, &wbuf, control, msg); in dgram_recvmmsg()
/openssl/
H A DCHANGES.md16702 * Increase s2->wbuf allocation by one byte in ssl2_new (ssl/s2_lib.c).

Completed in 137 milliseconds