HomeSort by: relevance | last modified time | path
    Searched defs:rbio (Results 1 - 25 of 45) sorted by relevancy

1 2

  /src/crypto/external/apache2/openssl/dist/test/
membio_test.c 16 BIO *bio = BIO_new(BIO_s_dgram_mem()), *rbio = NULL; local
27 rbio = BIO_new_mem_buf(msg1, sizeof(msg1));
28 if (!TEST_ptr(rbio))
32 if (!TEST_int_gt(BIO_set_mem_eof_return(rbio, 0), 0))
108 BIO_free(rbio);
clienthellotest.c 55 BIO *rbio; local
133 rbio = BIO_new(BIO_s_mem());
135 if (!TEST_ptr(rbio) || !TEST_ptr(wbio)) {
136 BIO_free(rbio);
141 SSL_set_bio(con, rbio, wbio);
servername_test.c 99 BIO *rbio; local
120 rbio = BIO_new(BIO_s_mem());
122 if (!TEST_ptr(rbio) || !TEST_ptr(wbio)) {
123 BIO_free(rbio);
128 SSL_set_bio(con, rbio, wbio);
151 BIO *rbio; local
169 rbio = BIO_new(BIO_s_mem());
171 if (!TEST_ptr(rbio) || !TEST_ptr(wbio)) {
172 BIO_free(rbio);
177 SSL_set_bio(con, rbio, wbio)
    [all...]
dtlstest.c 397 BIO *rbio = NULL, *wbio = NULL, *sbio = NULL; local
430 rbio = BIO_new(BIO_s_mem());
433 if (!TEST_ptr(serverssl) || !TEST_ptr(rbio) || !TEST_ptr(wbio))
436 sbio = rbio;
437 SSL_set0_rbio(serverssl, rbio);
439 rbio = wbio = NULL;
458 BIO_free(rbio);
bad_dtls_test.c 274 static int send_hello_verify(BIO *rbio)
330 BIO_write(rbio, hello_verify, sizeof(hello_verify));
335 static int send_server_hello(BIO *rbio)
462 BIO_write(rbio, server_hello, sizeof(server_hello));
463 BIO_write(rbio, change_cipher_spec, sizeof(change_cipher_spec));
469 static int send_record(BIO *rbio, unsigned char type, uint64_t seqnr,
537 BIO_write(rbio, &type, 1);
538 BIO_write(rbio, ver, 2);
539 BIO_write(rbio, epoch, 2);
540 BIO_write(rbio, seq, 6)
673 BIO *rbio = NULL; local
    [all...]
http_test.c 158 BIO *rbio = BIO_new(BIO_s_mem()); local
184 if (wbio == NULL || rbio == NULL || req == NULL)
187 mock_args.out = rbio;
195 real_server ? NULL : rbio,
203 wbio, rbio, NULL /* bio_fn */, NULL /* arg */,
237 BIO_free(rbio);
245 BIO *rbio = BIO_new(BIO_s_mem()); local
252 if (wbio == NULL || rbio == NULL)
254 mock_args.out = rbio;
265 wbio, rbio, NULL /* bio_update_fn */, NULL
499 BIO *rbio = BIO_new(BIO_s_mem()); local
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/
clienthellotest.c 63 BIO *rbio; local
172 rbio = BIO_new(BIO_s_mem());
174 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
175 BIO_free(rbio);
180 SSL_set_bio(con, rbio, wbio);
servername_test.c 101 BIO *rbio; local
122 rbio = BIO_new(BIO_s_mem());
124 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
125 BIO_free(rbio);
130 SSL_set_bio(con, rbio, wbio);
153 BIO *rbio; local
171 rbio = BIO_new(BIO_s_mem());
173 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
174 BIO_free(rbio);
179 SSL_set_bio(con, rbio, wbio)
    [all...]
dtlstest.c 401 BIO *rbio = NULL, *wbio = NULL, *sbio = NULL; local
429 rbio = BIO_new(BIO_s_mem());
432 if (!TEST_ptr(serverssl) || !TEST_ptr(rbio) || !TEST_ptr(wbio))
435 sbio = rbio;
436 SSL_set0_rbio(serverssl, rbio);
438 rbio = wbio = NULL;
457 BIO_free(rbio);
http_test.c 117 BIO *rbio = BIO_new(BIO_s_mem()); local
124 if (wbio == NULL || rbio == NULL || req == NULL)
126 mock_args.out = rbio;
133 wbio, rbio, NULL /* bio_update_fn */, NULL /* arg */,
139 wbio, rbio, NULL /* bio_fn */, NULL /* arg */,
152 BIO_free(rbio);
160 BIO *rbio = BIO_new(BIO_s_mem()); local
167 if (wbio == NULL || rbio == NULL)
169 mock_args.out = rbio;
179 wbio, rbio, NULL /* bio_update_fn */, NULL
    [all...]
bad_dtls_test.c 195 static int send_hello_verify(BIO *rbio)
218 BIO_write(rbio, hello_verify, sizeof(hello_verify));
223 static int send_server_hello(BIO *rbio)
267 BIO_write(rbio, server_hello, sizeof(server_hello));
268 BIO_write(rbio, change_cipher_spec, sizeof(change_cipher_spec));
274 static int send_record(BIO *rbio, unsigned char type, uint64_t seqnr,
342 BIO_write(rbio, &type, 1);
343 BIO_write(rbio, ver, 2);
344 BIO_write(rbio, epoch, 2);
345 BIO_write(rbio, seq, 6)
468 BIO *rbio = NULL; local
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/test/
clienthellotest.c 63 BIO *rbio; local
167 rbio = BIO_new(BIO_s_mem());
169 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
170 BIO_free(rbio);
175 SSL_set_bio(con, rbio, wbio);
servername_test.c 88 BIO *rbio; local
105 rbio = BIO_new(BIO_s_mem());
107 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
108 BIO_free(rbio);
113 SSL_set_bio(con, rbio, wbio);
136 BIO *rbio; local
150 rbio = BIO_new(BIO_s_mem());
152 if (!TEST_ptr(rbio)|| !TEST_ptr(wbio)) {
153 BIO_free(rbio);
158 SSL_set_bio(con, rbio, wbio)
    [all...]
bad_dtls_test.c 192 static int send_hello_verify(BIO *rbio)
215 BIO_write(rbio, hello_verify, sizeof(hello_verify));
220 static int send_server_hello(BIO *rbio)
264 BIO_write(rbio, server_hello, sizeof(server_hello));
265 BIO_write(rbio, change_cipher_spec, sizeof(change_cipher_spec));
271 static int send_record(BIO *rbio, unsigned char type, uint64_t seqnr,
330 BIO_write(rbio, &type, 1);
331 BIO_write(rbio, ver, 2);
332 BIO_write(rbio, epoch, 2);
333 BIO_write(rbio, seq, 6)
449 BIO *rbio = NULL; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/cms/
cms_smime.c 21 BIO *rbio; local
24 rbio = BIO_new(BIO_s_null());
26 rbio = BIO_new(BIO_s_mem());
27 BIO_set_mem_eof_return(rbio, 0);
29 rbio = out;
30 return rbio;
  /src/crypto/external/bsd/openssl.old/dist/crypto/cms/
cms_smime.c 21 BIO *rbio; local
23 rbio = BIO_new(BIO_s_null());
25 rbio = BIO_new(BIO_s_mem());
26 BIO_set_mem_eof_return(rbio, 0);
28 rbio = out;
29 return rbio;
  /src/crypto/external/apache2/openssl/dist/crypto/cms/
cms_smime.c 22 BIO *rbio; local
25 rbio = BIO_new(BIO_s_null());
27 rbio = BIO_new(BIO_s_mem());
28 BIO_set_mem_eof_return(rbio, 0);
30 rbio = out;
31 return rbio;
  /src/crypto/external/apache2/openssl/dist/ssl/
d1_lib.c 306 /* set s->d1->next_timeout into ssl->rbio interface */
361 dtls1_bio_set_next_timeout(s->rbio, s->d1);
426 BIO *rbio, *wbio; local
445 rbio = SSL_get_rbio(ssl);
448 if (!rbio || !wbio) {
478 n = BIO_read(rbio, buf, SSL3_RT_MAX_PLAIN_LENGTH + DTLS1_RT_HEADER_LENGTH);
480 if (BIO_should_retry(rbio)) {
756 * This is unnecessary if rbio and wbio are one and the same - but
760 if (BIO_dgram_get_peer(rbio, tmpclient) > 0) {
815 if (BIO_dgram_get_peer(rbio, client) <= 0
    [all...]
  /src/crypto/external/apache2/openssl/dist/ssl/record/
rec_layer_s3.c 948 BIO *rbio; local
965 rbio = SSL_get_rbio(ssl);
966 BIO_clear_retry_flags(rbio);
967 BIO_set_retry_read(rbio);
1273 thisbio = s->rbio;
  /src/crypto/external/bsd/openssl/dist/apps/
enc.c 118 BIO *in = NULL, *out = NULL, *b64 = NULL, *benc = NULL, *rbio = local
399 rbio = in;
413 rbio = BIO_push(bzl, rbio);
429 rbio = BIO_push(b64, rbio);
471 if (BIO_read(rbio, mbuf, sizeof(mbuf)) != sizeof(mbuf)) {
476 if (BIO_read(rbio, salt,
617 while (BIO_pending(rbio) || !BIO_eof(rbio)) {
    [all...]
  /src/crypto/external/bsd/openssl/dist/ssl/
d1_lib.c 466 BIO *rbio, *wbio; local
481 rbio = SSL_get_rbio(s);
484 if (!rbio || !wbio) {
525 n = BIO_read(rbio, buf, SSL3_RT_MAX_PLAIN_LENGTH
528 if (BIO_should_retry(rbio)) {
801 * This is unnecessary if rbio and wbio are one and the same - but
805 if (BIO_dgram_get_peer(rbio, tmpclient) > 0) {
858 if (BIO_dgram_get_peer(rbio, client) <= 0)
  /src/crypto/external/bsd/openssl/dist/ssl/record/
rec_layer_s3.c 284 if (!BIO_get_ktls_recv(s->rbio) && !s->rlayer.read_ahead
306 if (s->rbio != NULL) {
308 ret = BIO_read(s->rbio, pkt + len + left, max - left);
312 && !BIO_should_retry(s->rbio)
313 && BIO_eof(s->rbio)) {
1634 BIO *rbio; local
1651 rbio = SSL_get_rbio(s);
1652 BIO_clear_retry_flags(rbio);
1653 BIO_set_retry_read(rbio);
  /src/crypto/external/bsd/openssl.old/dist/apps/
enc.c 97 BIO *in = NULL, *out = NULL, *b64 = NULL, *benc = NULL, *rbio = local
380 rbio = in;
394 rbio = BIO_push(bzl, rbio);
410 rbio = BIO_push(b64, rbio);
450 } else if (BIO_read(rbio, mbuf, sizeof(mbuf)) != sizeof(mbuf)
451 || BIO_read(rbio,
590 while (BIO_pending(rbio) || !BIO_eof(rbio)) {
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/ssl/
d1_lib.c 455 BIO *rbio, *wbio; local
470 rbio = SSL_get_rbio(s);
473 if (!rbio || !wbio) {
514 n = BIO_read(rbio, buf, SSL3_RT_MAX_PLAIN_LENGTH
517 if (BIO_should_retry(rbio)) {
790 * This is unnecessary if rbio and wbio are one and the same - but
794 if (BIO_dgram_get_peer(rbio, tmpclient) > 0) {
848 if (BIO_dgram_get_peer(rbio, client) <= 0)
  /src/crypto/external/bsd/openssl.old/dist/ssl/record/
rec_layer_s3.c 306 if (s->rbio != NULL) {
309 ret = BIO_read(s->rbio, pkt + len + left, max - left);
1594 BIO *rbio; local
1611 rbio = SSL_get_rbio(s);
1612 BIO_clear_retry_flags(rbio);
1613 BIO_set_retry_read(rbio);

Completed in 45 milliseconds

1 2