Home
last modified time | relevance | path

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

1234

/third_party/openssl/test/
Dbio_memleak_test.c34 if (!TEST_int_eq(BIO_read(bio, buf, sizeof(buf)), sizeof(str))) in test_bio_memleak()
83 if (!TEST_int_eq(BIO_read(bio, data, 5), 5)) in test_bio_new_mem_buf()
91 if (!TEST_int_eq(BIO_read(bio, data, 16), 7)) in test_bio_new_mem_buf()
97 if (!TEST_int_eq(BIO_read(bio, data, 16), 12)) in test_bio_new_mem_buf()
118 if (!TEST_int_eq(BIO_read(bio, data, 5), 5)) in test_bio_rdonly_mem_buf()
132 if (!TEST_int_eq(BIO_read(bio2, data, 16), 7)) in test_bio_rdonly_mem_buf()
138 if (!TEST_int_eq(BIO_read(bio2, data, 16), 7)) in test_bio_rdonly_mem_buf()
163 if (!TEST_int_eq(BIO_read(bio, data, 16), 12)) in test_bio_rdwr_rdonly()
173 if (!TEST_int_eq(BIO_read(bio, data, 16), 16)) in test_bio_rdwr_rdonly()
200 if (!TEST_int_eq(BIO_read(bio, data, 16), 12)) in test_bio_nonclear_rst()
[all …]
Dbio_enc_test.c57 lref = BIO_read(b, ref, sizeof(ref)); in do_bio_cipher()
70 len = BIO_read(b, out, i); in do_bio_cipher()
76 len += BIO_read(b, out + len, sizeof(out) - len); in do_bio_cipher()
96 for (len = 0; (delta = BIO_read(b, out + len, i)); ) { in do_bio_cipher()
117 len = BIO_read(b, out, sizeof(out)); in do_bio_cipher()
133 len = BIO_read(b, out, i); in do_bio_cipher()
139 len += BIO_read(b, out + len, sizeof(out) - len); in do_bio_cipher()
159 for (len = 0; (delta = BIO_read(b, out + len, i)); ) { in do_bio_cipher()
Dbio_callback_test.c75 i = BIO_read(bio, buf, sizeof(buf)); in test_bio_callback()
94 i = BIO_read(bio, buf, sizeof(buf)); in test_bio_callback()
114 i = BIO_read(bio, buf, sizeof(buf)); in test_bio_callback()
Dd2i_test.c70 len = BIO_read(bio, buf, sizeof(buf)); in test_bad_asn1()
Ddtls_mtu_test.c105 reclen = BIO_read(sc_bio, buf, sizeof(buf)); in mtu_test()
Dsslcorrupttest.c31 ret = BIO_read(next, out, outl); in tls_corrupt_read()
/third_party/openssl/doc/man3/
DBIO_read.pod5 BIO_read_ex, BIO_write_ex, BIO_read, BIO_write, BIO_gets, BIO_puts
15 int BIO_read(BIO *b, void *data, int dlen);
29 BIO_read() attempts to read B<len> bytes from BIO B<b> and places
65 select() on the underlying I/O structure and then call BIO_read() to
66 read the data) should B<not> be used because a single call to BIO_read()
/third_party/openssl/crypto/asn1/
Da_d2i_fp.c123 i = BIO_read(in, &(b->data[len]), want); in asn1_d2i_read_bio()
195 i = BIO_read(in, &(b->data[len]), chunk); in asn1_d2i_read_bio()
/third_party/openssl/apps/
Ds_client.c2235 BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2240 BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2242 mbuf_len = BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2274 BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2291 BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2303 seen = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2314 seen = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2323 seen = BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2351 bytes = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2359 bytes = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
[all …]
Denc.c450 } else if (BIO_read(rbio, mbuf, sizeof(mbuf)) != sizeof(mbuf) in enc_main()
451 || BIO_read(rbio, in enc_main()
591 inl = BIO_read(rbio, (char *)buff, bsize); in enc_main()
Ddgst.c371 siglen = BIO_read(sigbio, sigbuf, siglen); in dgst_main()
509 i = BIO_read(bp, (char *)buf, BUFSIZE); in do_fp()
/third_party/openssl/demos/bio/
Dserver-cmod.c67 i = BIO_read(in, buf, sizeof(buf)); in main()
Dsaccept.c97 i = BIO_read(in, buf, 512); in main()
Dclient-arg.c101 len = BIO_read(sbio, tmpbuf, 1024); in main()
Dsconnect.c101 i = BIO_read(out, buf, sizeof(buf)); in main()
Dserver-arg.c120 i = BIO_read(in, buf, 512); in main()
Dclient-conf.c109 len = BIO_read(sbio, tmpbuf, 1024); in main()
Dserver-conf.c112 i = BIO_read(in, buf, 512); in main()
/third_party/openssl/crypto/bio/
Dbf_buff.c127 i = BIO_read(b->next_bio, out, outl); in buffer_read()
145 i = BIO_read(b->next_bio, ctx->ibuf, ctx->ibuf_size); in buffer_read()
457 i = BIO_read(b->next_bio, ctx->ibuf, ctx->ibuf_size); in buffer_gets()
Dbf_null.c55 ret = BIO_read(b->next_bio, out, outl); in nullf_read()
Dbf_nbio.c105 ret = BIO_read(b->next_bio, out, outl); in nbiof_read()
/third_party/openssl/crypto/pem/
Dpvkfmt.c210 if (BIO_read(in, hdr_buf, 16) != 16) { in do_b2i_bio()
229 if (BIO_read(in, buf, length) != (int)length) { in do_b2i_bio()
756 if (BIO_read(in, pvk_hdr, 24) != 24) { in b2i_PVK_bio()
771 if (BIO_read(in, buf, buflen) != buflen) { in b2i_PVK_bio()
/third_party/openssl/crypto/pkcs7/
Dpk7_smime.c330 i = BIO_read(p7bio, buf, BUFFERSIZE); in PKCS7_verify()
531 i = BIO_read(tmpmem, buf, BUFFERSIZE); in PKCS7_decrypt()
/third_party/openssl/crypto/evp/
Dbio_md.c93 ret = BIO_read(next, out, outl); in md_read()
/third_party/openssl/test/ossl_shim/
Dasync_bio.cc79 int ret = BIO_read(BIO_next(bio), out, outl); in AsyncRead()

1234