Home
last modified time | relevance | path

Searched refs:written (Results 1 – 25 of 226) sorted by relevance

12345678910

/openssl/test/
H A Dwpackettest.c69 size_t written; in test_WPACKET_init() local
144 size_t written; in test_WPACKET_set_max_size() local
191 size_t written; in test_WPACKET_start_sub_packet() local
273 size_t written; in test_WPACKET_set_flags() local
304 || !TEST_size_t_eq(written, 0)) in test_WPACKET_set_flags()
333 size_t written; in test_WPACKET_allocate_bytes() local
363 size_t written; in test_WPACKET_memcpy() local
390 size_t written[2]; in test_WPACKET_init_der() local
447 if (!TEST_size_t_eq(written[0], written[1]) in test_WPACKET_init_der()
460 size_t written, len; in test_WPACKET_quic() local
[all …]
H A Drecordlentest.c30 size_t written; in write_record() local
41 if (!BIO_write_ex(b, header, SSL3_RT_HEADER_LENGTH, &written) in write_record()
42 || written != SSL3_RT_HEADER_LENGTH) in write_record()
53 if (!BIO_write_ex(b, buf, outlen, &written) in write_record()
54 || written != outlen) in write_record()
86 size_t written; in test_record_overflow() local
167 if (!TEST_false(SSL_read_ex(serverssl, &buf, sizeof(buf), &written))) in test_record_overflow()
H A Dasynciotest.c128 size_t written = 0; in async_write() local
160 written += SSL3_RT_HEADER_LENGTH; in async_write()
225 written++; in async_write()
241 if ((int)written < inl) { in async_write()
242 ret = BIO_write(next, in + written, inl - written); in async_write()
248 ret += written; in async_write()
H A Dquicapitest.c843 size_t written, readbytes, msglen; in test_bio_ssl() local
980 size_t readbytes, written; in test_back_pressure() local
1056 size_t written; in test_multiple_dgrams() local
1071 || !TEST_size_t_eq(written, buflen) in test_multiple_dgrams()
1535 || !TEST_size_t_eq(msglen, written)) in test_noisy_dgram()
1556 || !TEST_size_t_eq(msglen, written)) in test_noisy_dgram()
1602 size_t written, readbytes; in test_bw_limit() local
1634 &written)) { in test_bw_limit()
1639 sendlen -= written; in test_bw_limit()
2026 size_t tp_len, written, old_len, eb_len; in tparam_on_enc_ext() local
[all …]
H A Dsslapitest.c437 size_t readbytes, written; in test_keylog_no_master_key() local
1555 size_t written, readbytes; in test_large_app_data() local
3789 size_t readbytes, written; in test_early_data_replay_int() local
3948 size_t readbytes, written; in early_data_skip_helper() local
4175 size_t readbytes, written; in test_early_data_not_sent() local
4267 size_t readbytes, written; in test_early_data_psk() local
4448 size_t readbytes, written; in test_early_data_psk_with_all_ciphers() local
4584 size_t readbytes, written; in test_early_data_not_expected() local
4644 size_t readbytes, written; in test_early_data_tls1_2() local
6669 size_t readbytes, written; in test_export_key_mat_early() local
[all …]
H A Dquic_multistream_test.c2826 size_t written; in script_21_inject_plain() local
2907 size_t written; in script_23_inject_plain() local
2960 size_t written; in script_24_inject_plain() local
3070 size_t written; in script_28_inject_plain() local
3204 size_t written; in script_32_inject_plain() local
3568 size_t written; in script_41_inject_plain() local
3681 size_t written; in script_42_inject_plain() local
3762 size_t written; in script_44_inject_plain() local
3862 size_t written; in script_46_inject_plain() local
4072 size_t written; in script_52_inject_plain() local
[all …]
/openssl/crypto/
H A Dpacket.c24 pkt->written += len; in WPACKET_allocate_bytes()
52 if (pkt->maxsize - pkt->written < len) in WPACKET_reserve_bytes()
108 pkt->written = 0; in wpacket_intern_init_len()
252 size_t packlen = pkt->written - sub->pwritten; in wpacket_intern_close()
266 pkt->written -= sub->lenbytes; in wpacket_intern_close()
384 sub->pwritten = pkt->written + lenbytes; in WPACKET_start_sub_packet_len__()
392 sub->packet_len = pkt->written; in WPACKET_start_sub_packet_len__()
486 int WPACKET_get_total_written(WPACKET *pkt, size_t *written) in WPACKET_get_total_written() argument
489 if (!ossl_assert(written != NULL)) in WPACKET_get_total_written()
492 *written = pkt->written; in WPACKET_get_total_written()
[all …]
H A Dtrace.c39 size_t num, size_t *written);
66 const char *buf, size_t num, size_t *written) in trace_write() argument
72 *written = cnt; in trace_write()
78 size_t written; in trace_puts() local
80 if (trace_write(channel, str, strlen(str), &written)) in trace_puts()
81 return (int)written; in trace_puts()
/openssl/ssl/
H A Dd1_msg.c13 size_t len, size_t *written) in dtls1_write_app_data_bytes() argument
36 return dtls1_write_bytes(sc, type, buf_, len, written); in dtls1_write_app_data_bytes()
45 size_t written; in dtls1_dispatch_alert() local
57 i = do_dtls1_write(s, SSL3_RT_ALERT, &buf[0], sizeof(buf), &written); in dtls1_dispatch_alert()
/openssl/doc/man3/
H A DSSL_write.pod17 size_t *written);
18 int SSL_write_ex(SSL *s, const void *buf, size_t num, size_t *written);
25 of bytes written in B<*written>.
51 data passed to the call is written (meaning that C<*written == num>), the
59 it enables the written stream data and the FIN flag indicating the end of the
101 must be written into or retrieved out of the BIO before being able to continue.
104 B<buf> of length B<num> has been written. This default behaviour can be changed
136 Success means that all requested application data bytes have been written to the
139 not all the requested bytes have been written yet (if
154 bytes actually written to the TLS/SSL connection.
[all …]
H A DEVP_PKEY_encapsulate.pod38 is written to the I<*wrappedkeylen> parameter unless I<wrappedkeylen> is NULL
39 and the maximum size of the generated key buffer is written to I<*genkeylen>
42 internally generated key is written to I<genkey> and its size is written to
43 I<*genkeylen>. The encapsulated version of the generated key is written to
44 I<wrappedkey> and its size is written to I<*wrappedkeylen>. Note that if
47 it is large enough to hold the result written to I<wrapped>.
H A DBIO_new_CMS.pod16 of the filter is written to B<out>. Any data written to the chain is
24 After all content has been written through the chain BIO_flush() must be called
32 is reached. If no additional data needs to be written BIO_free_all() can be
35 Any content written through the filter is used verbatim: no canonical
H A DBIO_read.pod14 int BIO_write_ex(BIO *b, const void *data, size_t dlen, size_t *written);
29 If successful then the number of bytes written is stored in I<*written>
30 unless I<written> is NULL.
66 Otherwise it returns the number of bytes written.
78 written (if the return value is positive) or that no data was successfully
79 read or written if the result is 0 or -1. If the return value is -2 then
118 I<written> parameter of the function can be NULL since OpenSSL 3.0.
H A DEVP_PKEY_derive.pod39 If I<key> is NULL then the maximum size of the output buffer is written to the
42 successful the shared secret is written to I<key> and the amount of data
43 written to I<keylen>.
95 /* Shared secret is skey bytes written to buffer skey */
H A DEVP_PKEY_encrypt.pod30 buffer is written to the B<outlen> parameter. If B<out> is not B<NULL> then
32 B<out> buffer, if the call is successful the encrypted data is written to
33 B<out> and the amount of data written to B<outlen>.
92 /* Encrypted data is outlen bytes written to buffer out */
/openssl/demos/guide/
H A Dtls-client-block.c109 size_t written, readbytes; in main() local
216 if (!SSL_write_ex(ssl, request_start, strlen(request_start), &written)) { in main()
220 if (!SSL_write_ex(ssl, hostname, strlen(hostname), &written)) { in main()
224 if (!SSL_write_ex(ssl, request_end, strlen(request_end), &written)) { in main()
H A Dquic-client-block.c127 size_t written, readbytes; in main() local
238 if (!SSL_write_ex(ssl, request_start, strlen(request_start), &written)) { in main()
242 if (!SSL_write_ex(ssl, hostname, strlen(hostname), &written)) { in main()
246 if (!SSL_write_ex(ssl, request_end, strlen(request_end), &written)) { in main()
H A Dtls-client-non-block.c186 size_t written, readbytes = 0; in main() local
290 while (!SSL_write_ex(ssl, request_start, strlen(request_start), &written)) { in main()
296 while (!SSL_write_ex(ssl, hostname, strlen(hostname), &written)) { in main()
302 while (!SSL_write_ex(ssl, request_end, strlen(request_end), &written)) { in main()
H A Dquic-client-non-block.c234 size_t written, readbytes = 0; in main() local
352 while (!SSL_write_ex(ssl, request_start, strlen(request_start), &written)) { in main()
358 while (!SSL_write_ex(ssl, hostname, strlen(hostname), &written)) { in main()
364 while (!SSL_write_ex(ssl, request_end, strlen(request_end), &written)) { in main()
H A Dquic-multi-stream.c115 size_t written; in write_a_request() local
118 &written)) in write_a_request()
120 if (!SSL_write_ex(stream, hostname, strlen(hostname), &written)) in write_a_request()
122 if (!SSL_write_ex(stream, request_end, strlen(request_end), &written)) in write_a_request()
/openssl/crypto/bio/
H A Dbio_lib.c327 size_t *written) in bio_write_intern() argument
332 if (written != NULL) in bio_write_intern()
333 *written = 0; in bio_write_intern()
365 if (written != NULL) in bio_write_intern()
366 *written = local_written; in bio_write_intern()
372 size_t written; in BIO_write() local
382 ret = (int)written; in BIO_write()
501 size_t written = 0; in BIO_puts() local
527 written = ret; in BIO_puts()
536 if (written > INT_MAX) { in BIO_puts()
[all …]
/openssl/providers/common/
H A Dbio_prov.c99 size_t *written) in ossl_prov_bio_write_ex() argument
103 return c_bio_write_ex(bio, data, data_len, written); in ossl_prov_bio_write_ex()
171 size_t *written) in bio_core_write_ex() argument
173 return ossl_prov_bio_write_ex(BIO_get_data(bio), data, data_len, written); in bio_core_write_ex()
/openssl/doc/designs/ddd/
H A Dddd-06-mem-uv.c47 size_t buf_len, written; member
605 size_t written = op->written; in try_write() local
607 while (written < op->buf_len) { in try_write()
608 rc = SSL_write(conn->ssl, op->buf + written, op->buf_len - written); in try_write()
612 op->written = written; in try_write()
621 written += rc; in try_write()
/openssl/demos/http3/
H A Dossl-nghttp3.c568 size_t i, num_vecs, written, total_written, total_len; in OSSL_DEMO_H3_CONN_handle_events() local
640 written = vecs[i].len; in OSSL_DEMO_H3_CONN_handle_events()
641 } else if (!SSL_write_ex2(s->s, vecs[i].base, vecs[i].len, flags, &written)) { in OSSL_DEMO_H3_CONN_handle_events()
647 written = 0; in OSSL_DEMO_H3_CONN_handle_events()
662 total_written += written; in OSSL_DEMO_H3_CONN_handle_events()
663 if (written > 0) { in OSSL_DEMO_H3_CONN_handle_events()
669 ec = nghttp3_conn_add_write_offset(conn->h3conn, stream_id, written); in OSSL_DEMO_H3_CONN_handle_events()
679 ec = nghttp3_conn_add_ack_offset(conn->h3conn, stream_id, written); in OSSL_DEMO_H3_CONN_handle_events()
/openssl/ssl/record/
H A Drecord.h146 size_t *written);
158 size_t len, size_t *written);
160 size_t len, size_t *written);

Completed in 94 milliseconds

12345678910