Searched refs:cfd (Results 1 – 6 of 6) sorted by relevance
/openssl/engines/ |
H A D | e_devcrypto.c | 53 static int cfd = -1; variable 285 if (ioctl(cfd, CIOCCRYPT, &cryp) < 0) { in cipher_do_cipher() 527 ioctl(cfd, CIOCFSESSION, &sess.ses); in prepare_cipher_methods() 777 return ioctl(cfd, CIOCCRYPT, &cryp); in digest_op() 1226 if (cfd >= 0) in open_devcrypto() 1238 if (ioctl(fd, CRIOGET, &cfd) < 0) { in open_devcrypto() 1241 cfd = -1; in open_devcrypto() 1246 cfd = fd; in open_devcrypto() 1256 if (cfd < 0) in close_devcrypto() 1258 ret = close(cfd); in close_devcrypto() [all …]
|
/openssl/test/ |
H A D | bio_tfo_test.c | 207 int cfd = -1; /* client socket */ in test_fd_tfo() local 296 if (!TEST_int_ge(cfd = BIO_socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol, 0), 0)) in test_fd_tfo() 314 if (!BIO_connect(cfd, baddr, client_flags)) { in test_fd_tfo() 358 if (!TEST_int_ge(sendto(cfd, SOCKET_DATA, SOCKET_DATA_LEN, OSSL_TFO_SENDTO, in test_fd_tfo() 364 if (!TEST_int_ge(writesocket(cfd, SOCKET_DATA, SOCKET_DATA_LEN), 0)) { in test_fd_tfo() 406 BIO_closesocket(cfd); in test_fd_tfo()
|
H A D | sslapitest.c | 1136 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() 1148 if (!ktls_chk_platform(cfd)) { in execute_test_ktls() 1176 &clientssl, sfd, cfd))) in execute_test_ktls() 1292 if (cfd != -1) in execute_test_ktls() 1293 close(cfd); 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() 1352 &clientssl, sfd, cfd))) in execute_test_ktls_sendfile() 1436 if (cfd != -1) in execute_test_ktls_sendfile() [all …]
|
/openssl/test/helpers/ |
H A D | ssltestlib.c | 1017 int afd = -1, cfd = -1, sfd = -1; in create_test_sockets() local 1042 cfd = BIO_socket(AF_INET, socktype, in create_test_sockets() 1044 if (cfd == INVALID_SOCKET) in create_test_sockets() 1071 if (!BIO_socket_nbio(cfd, 1) || !BIO_socket_nbio(sfd, 1)) in create_test_sockets() 1074 *cfdp = cfd; in create_test_sockets() 1079 if (cfd != -1) in create_test_sockets() 1080 close(cfd); in create_test_sockets() 1090 SSL **cssl, int sfd, int cfd) in create_ssl_objects2() argument 1106 || !TEST_ptr(c_to_s_bio = BIO_new_socket(cfd, BIO_NOCLOSE))) in create_ssl_objects2() 1120 || !TEST_int_eq(rdesc.value.fd, cfd) in create_ssl_objects2() [all …]
|
H A D | ssltestlib.h | 32 SSL **cssl, int sfd, int cfd);
|
H A D | quictestlib.c | 173 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() 181 cbio = BIO_new_dgram(cfd, 1); in qtest_create_quic_objects() 183 close(cfd); in qtest_create_quic_objects()
|
Completed in 42 milliseconds