Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 23 of 23) sorted by relevance

/mbedtls-3.5.0/library/
Dnet_sockets.c73 #define read(fd, buf, len) recv(fd, (char *) (buf), (int) (len), 0) argument
74 #define write(fd, buf, len) send(fd, (char *) (buf), (int) (len), 0) argument
75 #define close(fd) closesocket(fd) argument
141 static int check_fd(int fd, int for_select) in check_fd() argument
143 if (fd < 0) { in check_fd()
155 if (for_select && fd >= FD_SETSIZE) { in check_fd()
168 ctx->fd = -1; in mbedtls_net_init()
197 ctx->fd = (int) socket(cur->ai_family, cur->ai_socktype, in mbedtls_net_connect()
199 if (ctx->fd < 0) { in mbedtls_net_connect()
204 if (connect(ctx->fd, cur->ai_addr, MSVC_INT_CAST cur->ai_addrlen) == 0) { in mbedtls_net_connect()
[all …]
/mbedtls-3.5.0/programs/test/
Dudp_proxy.c867 nb_fds = client_fd.fd; in main()
868 if (nb_fds < server_fd.fd) { in main()
869 nb_fds = server_fd.fd; in main()
871 if (nb_fds < listen_fd.fd) { in main()
872 nb_fds = listen_fd.fd; in main()
925 FD_SET(server_fd.fd, &read_fds); in main()
926 FD_SET(client_fd.fd, &read_fds); in main()
927 FD_SET(listen_fd.fd, &read_fds); in main()
934 if (FD_ISSET(listen_fd.fd, &read_fds)) { in main()
938 if (FD_ISSET(client_fd.fd, &read_fds)) { in main()
[all …]
/mbedtls-3.5.0/scripts/
Decp_comb_table.py172 fd, srcname = tempfile.mkstemp(prefix="mbedtls", suffix=".c")
173 srcfile = os.fdopen(fd, mode="w")
Dassemble_changelog.py410 with open(generated_output_file, 'r', encoding='utf-8') as fd:
411 generated_output = set(fd)
Dabi_check.py309 with open(full_path) as fd:
310 for line_number, line in enumerate(fd, 1):
/mbedtls-3.5.0/programs/ssl/
Dmini_client.c234 if ((server_fd.fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in main()
239 if (connect(server_fd.fd, in main()
Dssl_test_lib.c376 int idle(mbedtls_net_context *fd, in idle() argument
379 int idle(mbedtls_net_context *fd, in idle()
409 ret = mbedtls_net_poll(fd, poll_type, 0); in idle()
Dssl_test_lib.h271 int idle(mbedtls_net_context *fd,
/mbedtls-3.5.0/tests/suites/
Dtest_suite_debug.data63fd 36 ee 82 65 2e\nMyFile(0999)\: 15 61 5e 89 bf b8 e8 45 90 db ee 88 16 52 d3 f1\nMyFile(0999)\:…
Dtest_suite_net.function41 ctx->fd = wanted_fd;
119 * If mbedtls_net_poll() does not proprely check that ctx.fd is in range,
Dtest_suite_bignum_core.generated.data3567 mpi_core_mla:"0":"ffffffff":"fe":"ffffff02":"fd":"fdffffff02":"0"
3678 mpi_core_mla:"0":"ffffffffffffffff":"fe":"ffffffffffffff02":"fd":"ffffffffffffff02":"fd"
3789 …efefefefefefe":"fe":"ffffffffffffffff0101010101010004":"fd":"ffffffffffffffff0101010101010004":"fd"
3900 …ffffffffffffffffffffffffffffffffff02":"fd":"ffffffffffffffffffffffffffffffffffffffffffffffffffffff…
4122 mpi_core_mla:"1":"ffffffff":"fe":"ffffff03":"fd":"fdffffff03":"0"
4233 mpi_core_mla:"1":"ffffffffffffffff":"fe":"ffffffffffffff03":"fd":"ffffffffffffff03":"fd"
4344 …efefefefefefe":"fe":"ffffffffffffffff0101010101010005":"fd":"ffffffffffffffff0101010101010005":"fd"
4455 …ffffffffffffffffffffffffffffffffff03":"fd":"ffffffffffffffffffffffffffffffffffffffffffffffffffffff…
4606 mpi_core_mla:"fffe":"1":"ff":"100fd":"0":"100fd":"0"
4899 …efefefefefefe":"fe":"ffffffffffffffff0101010101020002":"fd":"ffffffffffffffff0101010101020002":"fd"
[all …]
Dtest_suite_bignum_mod.misc.data151 mpi_mod_io_neg:"fe":"fd":0
Dtest_suite_bignum_core.misc.data399 mpi_core_get_mont_r2_unsafe:"fd":"ec":"24"
/mbedtls-3.5.0/tests/data_files/
Ddh.optlen.pem9 43:57:e1:c4:ea:07:a7:ce:1e:38:1a:2f:ca:fd:ff:
13 31:84:13:44:3c:d2:44:21:5c:d7:fd:4c:be:79:6e:
Ddh.998.pem8 fd:84:05:b0:df:36:15:29:4e:3e:23:3b:c3:ae:6b:
Ddh.1000.pem22 23:6e:42:8c:1e:70:3d:21:bb:b9:b9:8f:f9:fd:9c:
Dserver9-with-ca.crt64 b8:fd:54:d8:00:54:90:8b:25:b0:27:dd:95:cd:a2:f7:84:07:
Dserver10_int3_int-ca2_ca.crt85 b8:fd:54:d8:00:54:90:8b:25:b0:27:dd:95:cd:a2:f7:84:07:
/mbedtls-3.5.0/include/mbedtls/
Dnet_sockets.h102 int fd; member
/mbedtls-3.5.0/tests/data_files/dir1/
Dtest-ca.crt45 b8:fd:54:d8:00:54:90:8b:25:b0:27:dd:95:cd:a2:f7:84:07:
/mbedtls-3.5.0/tests/data_files/dir2/
Dtest-ca.crt45 b8:fd:54:d8:00:54:90:8b:25:b0:27:dd:95:cd:a2:f7:84:07:
/mbedtls-3.5.0/tests/data_files/dir3/
Dtest-ca.crt45 b8:fd:54:d8:00:54:90:8b:25:b0:27:dd:95:cd:a2:f7:84:07:
/mbedtls-3.5.0/
DChangeLog704 X.509 parsing, and finally the field fd of mbedtls_net_context on