Home
last modified time | relevance | path

Searched refs:sfd (Results 1 – 7 of 7) sorted by relevance

/openssl/test/
H A Dbio_tfo_test.c209 int sfd = -1; /* server accepted socket */ in test_fd_tfo() local
300 sfd = BIO_accept_ex(afd, NULL, 0); in test_fd_tfo()
301 if (sfd == -1) { in test_fd_tfo()
336 sfd = BIO_accept_ex(afd, NULL, 0); in test_fd_tfo()
337 if (sfd == -1) { in test_fd_tfo()
378 sfd = BIO_accept_ex(afd, NULL, 0); in test_fd_tfo()
379 if (sfd == -1) { in test_fd_tfo()
385 bytes_read = readsocket(sfd, read_buffer, sizeof(read_buffer)); in test_fd_tfo()
407 BIO_closesocket(sfd); in test_fd_tfo()
H A Dsslapitest.c1136 int cfd = -1, sfd = -1; in execute_test_ktls() local
1144 if (!TEST_true(create_test_sockets(&cfd, &sfd, SOCK_STREAM, NULL))) in execute_test_ktls()
1176 &clientssl, sfd, cfd))) in execute_test_ktls()
1294 if (sfd != -1) in execute_test_ktls()
1295 close(sfd); in execute_test_ktls()
1310 int cfd = -1, sfd = -1, ffd, err; in execute_test_ktls_sendfile() local
1320 || !TEST_true(create_test_sockets(&cfd, &sfd, SOCK_STREAM, NULL))) in execute_test_ktls_sendfile()
1324 if (!ktls_chk_platform(sfd)) { in execute_test_ktls_sendfile()
1352 &clientssl, sfd, cfd))) in execute_test_ktls_sendfile()
1438 if (sfd != -1) in execute_test_ktls_sendfile()
[all …]
/openssl/engines/
H A De_afalg.c286 cb->aio_fildes = sfd; in afalg_fin_cipher_aio()
446 actx->bfd = actx->sfd = -1; in afalg_create_sk()
467 actx->sfd = accept(actx->bfd, NULL, 0); in afalg_create_sk()
468 if (actx->sfd < 0) { in afalg_create_sk()
479 if (actx->sfd >= 0) in afalg_create_sk()
480 close(actx->sfd); in afalg_create_sk()
481 actx->bfd = actx->sfd = -1; in afalg_create_sk()
530 sbytes = sendmsg(actx->sfd, &msg, 0); in afalg_start_cipher_sk()
557 sbytes = sendmsg(actx->sfd, &msg, 0); in afalg_start_cipher_sk()
641 close(actx->sfd); in afalg_cipher_init()
[all …]
H A De_afalg.h86 int sfd; member
/openssl/test/helpers/
H A Dssltestlib.c1017 int afd = -1, cfd = -1, sfd = -1; in create_test_sockets() local
1056 sfd = afd; in create_test_sockets()
1060 while (sfd == -1 || !cfd_connected) { in create_test_sockets()
1061 sfd = accept(afd, NULL, 0); in create_test_sockets()
1062 if (sfd == -1 && errno != EAGAIN) in create_test_sockets()
1075 *sfdp = sfd; in create_test_sockets()
1081 if (sfd != -1) in create_test_sockets()
1082 close(sfd); in create_test_sockets()
1090 SSL **cssl, int sfd, int cfd) in create_ssl_objects2() argument
1128 || !TEST_int_eq(rdesc.value.fd, sfd) in create_ssl_objects2()
[all …]
H A Dssltestlib.h32 SSL **cssl, int sfd, int cfd);
H A Dquictestlib.c173 int cfd, sfd; in qtest_create_quic_objects() local
179 if (!TEST_true(create_test_sockets(&cfd, &sfd, SOCK_DGRAM, peeraddr))) in qtest_create_quic_objects()
184 close(sfd); in qtest_create_quic_objects()
187 sbio = BIO_new_dgram(sfd, 1); in qtest_create_quic_objects()
189 close(sfd); in qtest_create_quic_objects()

Completed in 41 milliseconds