| /netbsd-src/crypto/external/bsd/openssl/dist/test/ |
| H A D | sslbuffertest.c | 181 size_t written, readbytes; in test_free_buffers() local 229 if (!TEST_true(SSL_read_ex(serverssl, buf, readlen, &readbytes)) in test_free_buffers() 230 || !TEST_size_t_eq(readlen, readbytes)) in test_free_buffers() 238 if (!TEST_true(BIO_read_ex(tmp, buf, sizeof(buf), &readbytes)) in test_free_buffers() 239 || !TEST_size_t_lt(readbytes, sizeof(buf)) in test_free_buffers() 240 || !TEST_size_t_gt(readbytes, SSL3_RT_HEADER_LENGTH)) in test_free_buffers() 251 partial_len = readbytes - 1; in test_free_buffers() 287 &readbytes)) in test_free_buffers() 288 || !TEST_size_t_eq(readbytes, strlen(testdata))) in test_free_buffers() 296 &readbytes))) in test_free_buffers()
|
| H A D | bio_readbuffer_test.c | 32 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 D | tls13ccstest.c | 250 size_t written, readbytes; in test_tls13ccs() local 350 &readbytes), in test_tls13ccs() 361 &readbytes), in test_tls13ccs()
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/ |
| H A D | openssl_shim.c | 65 SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes) { 68 *readbytes = rv; in SSL_read_ex() 78 SSL_peek_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes) { 81 *readbytes = rv; in SSL_peek_ex() 104 BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes) { 107 *readbytes = rv; in BIO_read_ex() 67 SSL_read_ex(SSL * ssl,void * buf,size_t num,size_t * readbytes) SSL_read_ex() argument 80 SSL_peek_ex(SSL * ssl,void * buf,size_t num,size_t * readbytes) SSL_peek_ex() argument 106 BIO_read_ex(BIO * b,void * data,size_t dlen,size_t * readbytes) BIO_read_ex() argument
|
| H A D | openssl_shim.h | 66 SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes); 71 SSL_peek_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes); 81 BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes);
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/ |
| H A D | openssl_shim.c | 127 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 D | openssl_shim.h | 81 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-src/crypto/external/bsd/openssl.old/dist/crypto/bio/ |
| H A D | bio_lib.c | 251 static int bio_read_intern(BIO *b, void *data, size_t dlen, size_t *readbytes) in bio_read_intern() argument 270 ret = b->method->bread(b, data, dlen, readbytes); in bio_read_intern() 273 b->num_read += (uint64_t)*readbytes; in bio_read_intern() 277 dlen, 0, 0L, ret, 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() 306 int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes) in BIO_read_ex() argument 310 ret = bio_read_intern(b, data, dlen, readbytes); in BIO_read_ex() [all …]
|
| H A D | bio_meth.c | 116 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-src/crypto/external/bsd/openssl.old/dist/ssl/statem/ |
| H A D | statem_dtls.c | 538 size_t readbytes; in dtls1_reassemble_fragment() local 583 frag_len, 0, &readbytes); in dtls1_reassemble_fragment() 586 frag_len -= readbytes; in dtls1_reassemble_fragment() 594 frag_len, 0, &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 680 frag_len, 0, &readbytes); in dtls1_process_out_of_seq_message() 683 frag_len -= readbytes; in dtls1_process_out_of_seq_message() 705 &readbytes); in dtls1_process_out_of_seq_message() 706 if (i<=0 || readbytes != frag_len) in dtls1_process_out_of_seq_message() [all …]
|
| H A D | statem_lib.c | 1154 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-src/crypto/external/bsd/openssl/dist/crypto/bio/ |
| H A D | bio_lib.c | 269 static int bio_read_intern(BIO *b, void *data, size_t dlen, size_t *readbytes) in bio_read_intern() argument 292 ret = b->method->bread(b, data, dlen, readbytes); in bio_read_intern() 295 b->num_read += (uint64_t)*readbytes; in bio_read_intern() 299 dlen, 0, 0L, ret, 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() 328 int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes) in BIO_read_ex() argument 330 return bio_read_intern(b, data, dlen, readbytes) > 0; in BIO_read_ex() [all …]
|
| H A D | bio_meth.c | 116 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 D | ossl_core_bio.c | 95 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-src/crypto/external/bsd/openssl/dist/ssl/statem/ |
| H A D | statem_dtls.c | 603 size_t readbytes; in dtls1_reassemble_fragment() local 648 frag_len, 0, &readbytes); in dtls1_reassemble_fragment() 651 frag_len -= readbytes; in dtls1_reassemble_fragment() 659 frag_len, 0, &readbytes); in dtls1_reassemble_fragment() 660 if (i <= 0 || readbytes != frag_len) in dtls1_reassemble_fragment() 712 size_t readbytes; in dtls1_process_out_of_seq_message() local 745 frag_len, 0, &readbytes); in dtls1_process_out_of_seq_message() 748 frag_len -= readbytes; in dtls1_process_out_of_seq_message() 770 &readbytes); in dtls1_process_out_of_seq_message() 771 if (i<=0 || readbytes != frag_len) in dtls1_process_out_of_seq_message() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
| H A D | sslapitest.c | 390 size_t readbytes, written; in test_keylog_no_master_key() local 465 &readbytes), in test_keylog_no_master_key() 595 size_t readbytes; in test_ccs_change_cipher() local 652 if (SSL_read_ex(clientssl, &buf, sizeof(buf), &readbytes) > 0) { in test_ccs_change_cipher() 653 if (!TEST_ulong_eq(readbytes, 0)) in test_ccs_change_cipher() 659 if (SSL_read_ex(serverssl, &buf, sizeof(buf), &readbytes) > 0) { in test_ccs_change_cipher() 660 if (!TEST_ulong_eq(readbytes, 0)) in test_ccs_change_cipher() 811 size_t written, readbytes; in test_large_app_data() local 930 &readbytes))) in test_large_app_data() 933 if (!TEST_mem_eq(msg, written, buf, readbytes)) in test_large_app_data() [all …]
|
| H A D | tls13ccstest.c | 250 size_t written, readbytes; in test_tls13ccs() local 343 &readbytes), in test_tls13ccs() 354 &readbytes), in test_tls13ccs()
|
| /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/ |
| H A D | readbytes_example.txt | 1 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-src/external/cddl/dtracetoolkit/dist/Examples/ |
| H A D | readbytes_example.txt | 1 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-src/crypto/external/bsd/openssl.old/dist/ssl/ |
| H A D | bio_ssl.c | 20 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-src/crypto/external/bsd/openssl.old/dist/ssl/record/ |
| H A D | record.h | 212 size_t *readbytes); 229 size_t *readbytes);
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ssl/record/ |
| H A D | record.h | 221 size_t *readbytes); 241 size_t *readbytes);
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/ |
| H A D | BIO_set_callback.pod | 115 =item B<BIO_read_ex(b, data, dlen, readbytes)> 126 &readbytes) 164 &readbytes)
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/ |
| H A D | BIO_set_callback.pod | 124 =item B<BIO_read_ex(b, data, dlen, readbytes)> 135 &readbytes) 173 &readbytes)
|
| H A D | SSL_read.pod | 12 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>.
|