Home
last modified time | relevance | path

Searched refs:BIO_read (Results 1 – 25 of 82) sorted by relevance

1234

/freebsd/crypto/openssl/test/
H A Dbio_memleak_test.c81 if (!TEST_int_eq(BIO_read(bio, data, 5), 5)) in test_bio_new_mem_buf()
89 if (!TEST_int_eq(BIO_read(bio, data, 16), 7)) in test_bio_new_mem_buf()
95 if (!TEST_int_eq(BIO_read(bio, data, 16), 12)) in test_bio_new_mem_buf()
116 if (!TEST_int_eq(BIO_read(bio, data, 5), 5)) in test_bio_rdonly_mem_buf()
130 if (!TEST_int_eq(BIO_read(bio2, data, 16), 7)) in test_bio_rdonly_mem_buf()
136 if (!TEST_int_eq(BIO_read(bio2, data, 16), 7)) in test_bio_rdonly_mem_buf()
161 if (!TEST_int_eq(BIO_read(bio, data, 16), 12)) in test_bio_rdwr_rdonly()
171 if (!TEST_int_eq(BIO_read(bio, data, 16), 16)) in test_bio_rdwr_rdonly()
198 if (!TEST_int_eq(BIO_read(bio, data, 16), 12)) in test_bio_nonclear_rst()
205 if (!TEST_int_eq(BIO_read(bio, data, 16), 12)) in test_bio_nonclear_rst()
[all …]
H A Dbio_enc_test.c62 lref = BIO_read(b, ref, sizeof(ref)); in do_bio_cipher()
80 len = BIO_read(b, out, i); in do_bio_cipher()
86 len += BIO_read(b, out + len, sizeof(out) - len); in do_bio_cipher()
111 for (len = 0; (delta = BIO_read(b, out + len, i)); ) { in do_bio_cipher()
137 len = BIO_read(b, out, sizeof(out)); in do_bio_cipher()
158 len = BIO_read(b, out, i); in do_bio_cipher()
164 len += BIO_read(b, out + len, sizeof(out) - len); in do_bio_cipher()
189 for (len = 0; (delta = BIO_read(b, out + len, i)); ) { in do_bio_cipher()
H A Dbio_callback_test.c82 i = BIO_read(bio, buf, sizeof(buf)); in test_bio_callback_ex()
102 i = BIO_read(bio, buf, sizeof(buf)); in test_bio_callback_ex()
139 i = BIO_read(bio, buf, sizeof(buf)); in test_bio_callback_ex()
253 i = BIO_read(bio, buf, sizeof(buf)); in test_bio_callback()
272 i = BIO_read(bio, buf, sizeof(buf)); in test_bio_callback()
292 i = BIO_read(bio, buf, sizeof(buf)); in test_bio_callback()
H A Dbio_core_test.c97 || !TEST_int_gt(BIO_read(cbio, buf, sizeof(buf)), 0) in test_bio_core()
/freebsd/crypto/openssl/doc/man3/
H A DBIO_s_datagram.pod36 a single datagram and a single BIO_read() call receives a single datagram. If
37 the size of the buffer passed to BIO_read() is inadequate, the datagram is
62 any successful call to BIO_read() results in the peer address used for any
64 received by that call to BIO_read(). Thus, unless the caller calls
66 calls BIO_read(), any host on the network may cause future datagrams written to
116 The peer address of the datagram last received by a call to BIO_read().
125 modified by future calls to L<BIO_read(3)>, making use of BIO_s_datagram()
131 call to L<BIO_read(3)>) may have been caused by a receive timeout.
192 the receive timeout for the socket for the purposes of future L<BIO_read(3)>
198 peek mode is enabled, calls to L<BIO_read(3)> read datagrams from the underlying
[all …]
H A DBIO_read.pod5 BIO_read_ex, BIO_write_ex, BIO_read, BIO_write,
16 int BIO_read(BIO *b, void *data, int dlen);
32 BIO_read() attempts to read I<len> bytes from BIO I<b> and places
92 select() on the underlying I/O structure and then call BIO_read() to
93 read the data) should B<not> be used because a single call to BIO_read()
H A DBIO_socket_wait.pod28 It is used by BIO_do_connect_retry() and can be used together L<BIO_read(3)>.
53 L<BIO_do_connect(3)>, L<BIO_read(3)>
/freebsd/crypto/openssl/providers/implementations/storemgmt/
H A Dfile_store_any2obj.c133 ok = BIO_read(in, &mem->data[0], mem_want) == (int)mem_want; in msblob2obj_decode()
155 ok = BIO_read(in, &mem->data[mem_len], mem_want) == (int)mem_want; in msblob2obj_decode()
200 ok = BIO_read(in, &mem->data[0], mem_want) == (int)mem_want; in pvk2obj_decode()
222 ok = BIO_read(in, &mem->data[mem_len], mem_want) == (int)mem_want; in pvk2obj_decode()
/freebsd/crypto/openssl/apps/
H A Ds_client.c2215 BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2220 BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2222 mbuf_len = BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2258 BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2279 BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2291 seen = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2311 seen = BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2339 bytes = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2347 bytes = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2511 bytes = BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
[all …]
H A Dpkeyutl.c734 buf_len = BIO_read(in, mbuf, filesize); in do_raw_keyop()
742 buf_len = BIO_read(in, mbuf, filesize); in do_raw_keyop()
760 buf_len = BIO_read(in, tbuf, TBUF_MAXSIZE); in do_raw_keyop()
777 buf_len = BIO_read(in, tbuf, TBUF_MAXSIZE); in do_raw_keyop()
H A Denc.c471 if (BIO_read(rbio, mbuf, sizeof(mbuf)) != sizeof(mbuf)) { in enc_main()
476 if (BIO_read(rbio, salt, in enc_main()
618 inl = BIO_read(rbio, (char *)buff, bsize); in enc_main()
/freebsd/crypto/openssl/crypto/asn1/
H A Da_d2i_fp.c140 i = BIO_read(in, &(b->data[len]), want); in asn1_d2i_read_bio()
214 i = BIO_read(in, &(b->data[len]), chunk); in asn1_d2i_read_bio()
/freebsd/crypto/openssl/crypto/bio/
H A Dbf_readbuff.c141 i = BIO_read(b->next_bio, ctx->ibuf + ctx->ibuf_off, outl); in readbuffer_read()
273 j = BIO_read(b->next_bio, p, 1); in readbuffer_gets()
H A Dbf_buff.c125 i = BIO_read(b->next_bio, out, outl); in buffer_read()
143 i = BIO_read(b->next_bio, ctx->ibuf, ctx->ibuf_size); in buffer_read()
452 i = BIO_read(b->next_bio, ctx->ibuf, ctx->ibuf_size); in buffer_gets()
H A Dbf_null.c53 ret = BIO_read(b->next_bio, out, outl); in nullf_read()
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Ddecode_msblob2key.c111 if (BIO_read(in, hdr_buf, 16) != 16) { in msblob2key_decode()
140 if (BIO_read(in, buf, length) != (int)length) { in msblob2key_decode()
/freebsd/crypto/openssl/demos/bio/
H A Dserver-cmod.c67 i = BIO_read(in, buf, sizeof(buf)); in main()
H A Dsaccept.c97 i = BIO_read(in, buf, 512); in main()
H A Dclient-arg.c98 len = BIO_read(sbio, tmpbuf, 1024); in main()
H A Dsconnect.c100 i = BIO_read(out, buf, sizeof(buf)); in main()
H A Dserver-arg.c120 i = BIO_read(in, buf, 512); in main()
H A Dclient-conf.c106 len = BIO_read(sbio, tmpbuf, 1024); in main()
H A Dserver-conf.c112 i = BIO_read(in, buf, 512); in main()
/freebsd/crypto/openssl/demos/digest/
H A DBIO_f_md.c94 while( BIO_read(reading, buffer, sizeof(buffer)) > 0 ) in main()
H A DEVP_MD_stdin.c96 while ((ii = BIO_read(input, buffer, sizeof(buffer))) > 0) { in demonstrate_digest()

1234