| /src/crypto/external/apache2/openssl/dist/test/ |
| 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...] |
| 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...] |
| 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...] |
| 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);
|
| 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);
|
| 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);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| 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...] |
| 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...] |
| 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...] |
| 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);
|
| 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);
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| 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...] |
| 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...] |
| 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);
|
| /src/crypto/external/apache2/openssl/dist/apps/ |
| enc.c | 149 BIO *in = NULL, *out = NULL, *b64 = NULL, *benc = NULL, *rbio = NULL, *wbio = NULL; local 480 rbio = in; 495 rbio = BIO_push(bzl, rbio); 509 rbio = BIO_push(bbrot, rbio); 522 rbio = BIO_push(bzstd, rbio); 538 rbio = BIO_push(b64, rbio); [all...] |
| /src/crypto/external/apache2/openssl/dist/include/openssl/ |
| http.h | 48 OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size); 76 int use_ssl, BIO *bio, BIO *rbio, 89 BIO *bio, BIO *rbio, 98 BIO *bio, BIO *rbio,
|
| /src/crypto/external/bsd/openssl/dist/include/openssl/ |
| http.h | 41 OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size); 67 int use_ssl, BIO *bio, BIO *rbio, 80 BIO *bio, BIO *rbio, 89 BIO *bio, BIO *rbio,
|
| /src/crypto/external/apache2/openssl/dist/crypto/http/ |
| http_client.c | 51 BIO *rbio; /* BIO to read/receive response from */ member in struct:ossl_http_req_ctx_st 98 OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size) 102 if (wbio == NULL || rbio == NULL) { 113 rctx->rbio = rbio; 135 /* do not free rctx->rbio */ 395 static OSSL_HTTP_REQ_CTX *http_req_ctx_new(int free_wbio, BIO *wbio, BIO *rbio, 402 OSSL_HTTP_REQ_CTX *rctx = OSSL_HTTP_REQ_CTX_new(wbio, rbio, buf_size); 565 if (rctx->mem == NULL || rctx->wbio == NULL || rctx->rbio == NULL) { 575 n = BIO_read(rctx->rbio, buf, rctx->buf_size) [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/http/ |
| http_client.c | 49 BIO *rbio; /* BIO to read/receive response from */ member in struct:ossl_http_req_ctx_st 90 OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size) 94 if (wbio == NULL || rbio == NULL) { 105 rctx->rbio = rbio; 126 /* do not free rctx->rbio */ 371 static OSSL_HTTP_REQ_CTX *http_req_ctx_new(int free_wbio, BIO *wbio, BIO *rbio, 378 OSSL_HTTP_REQ_CTX *rctx = OSSL_HTTP_REQ_CTX_new(wbio, rbio, buf_size); 536 if (rctx->mem == NULL || rctx->wbio == NULL || rctx->rbio == NULL) { 546 n = BIO_read(rctx->rbio, rctx->buf, rctx->buf_size) [all...] |
| /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.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/dist/ssl/ |
| bio_ssl.c | 252 else if (ssl->rbio != NULL) 253 ret = BIO_ctrl(ssl->rbio, cmd, num, ptr); 319 ret = BIO_pending(ssl->rbio); 327 if ((next != NULL) && (next != ssl->rbio)) { 381 ret = BIO_ctrl(ssl->rbio, cmd, num, ptr); 387 ret = BIO_ctrl(ssl->rbio, cmd, num, ptr); 403 ret = BIO_callback_ctrl(ssl->rbio, cmd, fp);
|
| 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.old/dist/ssl/ |
| bio_ssl.c | 252 else if (ssl->rbio != NULL) 253 ret = BIO_ctrl(ssl->rbio, cmd, num, ptr); 319 ret = BIO_pending(ssl->rbio); 327 if ((next != NULL) && (next != ssl->rbio)) { 381 ret = BIO_ctrl(ssl->rbio, cmd, num, ptr); 387 ret = BIO_ctrl(ssl->rbio, cmd, num, ptr); 403 ret = BIO_callback_ctrl(ssl->rbio, cmd, fp);
|
| /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...] |