Home
last modified time | relevance | path

Searched refs:readbytes (Results 1 – 25 of 56) sorted by relevance

123

/netbsd/external/mpl/bind/dist/lib/isc/
H A Dopenssl_shim.c127 SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes) { in SSL_read_ex() argument
130 *readbytes = rv; in SSL_read_ex()
140 SSL_peek_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes) { in SSL_peek_ex() argument
143 *readbytes = rv; in SSL_peek_ex()
166 BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes) { in BIO_read_ex() argument
169 *readbytes = rv; in BIO_read_ex()
H A Dopenssl_shim.h81 SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes);
86 SSL_peek_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes);
96 BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes);
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/bio/
H A Dbio_lib.c270 ret = b->method->bread(b, data, dlen, readbytes); in bio_read_intern()
273 b->num_read += (uint64_t)*readbytes; in bio_read_intern()
280 if (ret > 0 && *readbytes > dlen) { in bio_read_intern()
290 size_t readbytes; in BIO_read() local
296 ret = bio_read_intern(b, data, (size_t)dlen, &readbytes); in BIO_read()
300 ret = (int)readbytes; in BIO_read()
310 ret = bio_read_intern(b, data, dlen, readbytes); in BIO_read_ex()
435 size_t readbytes = 0; in BIO_gets() local
461 readbytes = ret; in BIO_gets()
471 if (readbytes > (size_t)size) in BIO_gets()
[all …]
H A Dbio_meth.c116 int bread_conv(BIO *bio, char *data, size_t datal, size_t *readbytes) in bread_conv() argument
126 *readbytes = 0; in bread_conv()
130 *readbytes = (size_t)ret; in bread_conv()
/netbsd/crypto/external/bsd/openssl.old/dist/ssl/statem/
H A Dstatem_dtls.c538 size_t readbytes; in dtls1_reassemble_fragment() local
586 frag_len -= readbytes; in dtls1_reassemble_fragment()
595 if (i <= 0 || readbytes != frag_len) in dtls1_reassemble_fragment()
647 size_t readbytes; in dtls1_process_out_of_seq_message() local
683 frag_len -= readbytes; in dtls1_process_out_of_seq_message()
706 if (i<=0 || readbytes != frag_len) in dtls1_process_out_of_seq_message()
743 size_t readbytes; in dtls_get_reassembled_message() local
777 s->init_num = readbytes - 1; in dtls_get_reassembled_message()
781 *len = readbytes - 1; in dtls_get_reassembled_message()
873 readbytes = 0; in dtls_get_reassembled_message()
[all …]
H A Dstatem_lib.c1154 size_t l, readbytes; in tls_get_message_header() local
1163 0, &readbytes); in tls_get_message_header()
1173 if (s->init_num != 0 || readbytes != 1 || p[0] != SSL3_MT_CCS) { in tls_get_message_header()
1191 s->init_num = readbytes - 1; in tls_get_message_header()
1193 s->s3->tmp.message_size = readbytes; in tls_get_message_header()
1201 s->init_num += readbytes; in tls_get_message_header()
1262 size_t n, readbytes; in tls_get_message_body() local
1276 &p[s->init_num], n, 0, &readbytes); in tls_get_message_body()
1282 s->init_num += readbytes; in tls_get_message_body()
1283 n -= readbytes; in tls_get_message_body()
/netbsd/crypto/external/bsd/openssl/dist/crypto/bio/
H A Dbio_lib.c292 ret = b->method->bread(b, data, dlen, readbytes); in bio_read_intern()
295 b->num_read += (uint64_t)*readbytes; in bio_read_intern()
302 if (ret > 0 && *readbytes > dlen) { in bio_read_intern()
312 size_t readbytes; in BIO_read() local
318 ret = bio_read_intern(b, data, (size_t)dlen, &readbytes); in BIO_read()
322 ret = (int)readbytes; in BIO_read()
330 return bio_read_intern(b, data, dlen, readbytes) > 0; in BIO_read_ex()
453 size_t readbytes = 0; in BIO_gets() local
483 readbytes = ret; in BIO_gets()
493 if (readbytes > (size_t)size) in BIO_gets()
[all …]
H A Dbio_meth.c116 int bread_conv(BIO *bio, char *data, size_t datal, size_t *readbytes) in bread_conv() argument
126 *readbytes = 0; in bread_conv()
130 *readbytes = (size_t)ret; in bread_conv()
H A Dossl_core_bio.c95 size_t *readbytes) in ossl_core_bio_read_ex() argument
97 return BIO_read_ex(cb->bio, data, dlen, readbytes); in ossl_core_bio_read_ex()
/netbsd/crypto/external/bsd/openssl/dist/ssl/statem/
H A Dstatem_dtls.c607 size_t readbytes; in dtls1_reassemble_fragment() local
655 frag_len -= readbytes; in dtls1_reassemble_fragment()
664 if (i <= 0 || readbytes != frag_len) in dtls1_reassemble_fragment()
716 size_t readbytes; in dtls1_process_out_of_seq_message() local
752 frag_len -= readbytes; in dtls1_process_out_of_seq_message()
775 if (i<=0 || readbytes != frag_len) in dtls1_process_out_of_seq_message()
812 size_t readbytes; in dtls_get_reassembled_message() local
846 s->init_num = readbytes - 1; in dtls_get_reassembled_message()
850 *len = readbytes - 1; in dtls_get_reassembled_message()
950 readbytes = 0; in dtls_get_reassembled_message()
[all …]
H A Dstatem_lib.c1166 size_t l, readbytes; in tls_get_message_header() local
1175 0, &readbytes); in tls_get_message_header()
1185 if (s->init_num != 0 || readbytes != 1 || p[0] != SSL3_MT_CCS) { in tls_get_message_header()
1202 s->init_num = readbytes - 1; in tls_get_message_header()
1204 s->s3.tmp.message_size = readbytes; in tls_get_message_header()
1211 s->init_num += readbytes; in tls_get_message_header()
1272 size_t n, readbytes; in tls_get_message_body() local
1286 &p[s->init_num], n, 0, &readbytes); in tls_get_message_body()
1292 s->init_num += readbytes; in tls_get_message_body()
1293 n -= readbytes; in tls_get_message_body()
/netbsd/crypto/external/bsd/openssl/dist/test/
H A Dbio_readbuffer_test.c32 size_t readbytes = 0, bytes = 0, count = 0; in test_readbuffer_file_bio() local
37 &readbytes), 1) in test_readbuffer_file_bio()
38 || !TEST_int_lt(readbytes, sizeof(expected))) in test_readbuffer_file_bio()
89 if (!TEST_int_eq(count, readbytes)) in test_readbuffer_file_bio()
H A Dsslapitest.c437 size_t readbytes, written; in test_keylog_no_master_key() local
853 size_t readbytes; in test_ccs_change_cipher() local
1525 size_t written, readbytes; in test_large_app_data() local
3714 size_t readbytes, written; in test_early_data_replay_int() local
3862 size_t readbytes, written; in early_data_skip_helper() local
4085 size_t readbytes, written; in test_early_data_not_sent() local
4177 size_t readbytes, written; in test_early_data_psk() local
4350 size_t readbytes, written; in test_early_data_psk_with_all_ciphers() local
4454 size_t readbytes, written; in test_early_data_not_expected() local
8801 p += readbytes; in test_multiblock_write()
[all …]
H A Dtls13ccstest.c250 size_t written, readbytes; in test_tls13ccs() local
350 &readbytes), in test_tls13ccs()
361 &readbytes), in test_tls13ccs()
/netbsd/crypto/external/bsd/openssl.old/dist/test/
H A Dsslapitest.c390 size_t readbytes, written; in test_keylog_no_master_key() local
595 size_t readbytes; in test_ccs_change_cipher() local
811 size_t written, readbytes; in test_large_app_data() local
2637 size_t readbytes, written; in test_early_data_replay_int() local
2774 size_t readbytes, written; in early_data_skip_helper() local
2956 size_t readbytes, written; in test_early_data_not_sent() local
3047 size_t readbytes, written; in test_early_data_psk() local
3219 size_t readbytes, written; in test_early_data_psk_with_all_ciphers() local
3319 size_t readbytes, written; in test_early_data_not_expected() local
3378 size_t readbytes, written; in test_early_data_tls1_2() local
[all …]
H A Dtls13ccstest.c250 size_t written, readbytes; in test_tls13ccs() local
343 &readbytes), in test_tls13ccs()
354 &readbytes), in test_tls13ccs()
/netbsd/external/cddl/dtracetoolkit/dist/Examples/
H A Dreadbytes_example.txt1 The following is a demonstration of the readbytes.d script,
4 Here the readbytes.d script is run for a few seconds, then Ctrl-C is hit,
6 # readbytes.d
/netbsd/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Dreadbytes_example.txt1 The following is a demonstration of the readbytes.d script,
4 Here the readbytes.d script is run for a few seconds, then Ctrl-C is hit,
6 # readbytes.d
/netbsd/crypto/external/bsd/openssl.old/dist/ssl/
H A Dbio_ssl.c20 static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes);
91 static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes) in ssl_read() argument
106 ret = ssl_read_internal(ssl, buf, size, readbytes); in ssl_read()
111 sb->byte_count += *readbytes; in ssl_read()
/netbsd/crypto/external/bsd/openssl/dist/ssl/
H A Dbio_ssl.c20 static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes);
91 static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes) in ssl_read() argument
106 ret = ssl_read_internal(ssl, buf, size, readbytes); in ssl_read()
111 sb->byte_count += *readbytes; in ssl_read()
/netbsd/crypto/external/bsd/openssl.old/dist/ssl/record/
H A Drecord.h212 size_t *readbytes);
229 size_t *readbytes);
/netbsd/crypto/external/bsd/openssl/dist/ssl/record/
H A Drecord.h220 size_t *readbytes);
240 size_t *readbytes);
/netbsd/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DBIO_set_callback.pod115 =item B<BIO_read_ex(b, data, dlen, readbytes)>
126 &readbytes)
164 &readbytes)
H A DSSL_read.pod12 int SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes);
15 int SSL_peek_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes);
22 actually read in B<*readbytes>.
/netbsd/crypto/external/bsd/openssl/dist/doc/man3/
H A DBIO_set_callback.pod124 =item B<BIO_read_ex(b, data, dlen, readbytes)>
135 &readbytes)
173 &readbytes)

123