Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 31) sorted by relevance

12

/mbedtls-3.5.0/programs/ssl/
Dssl_client2.c565 } opt; variable
589 if (opt.debug_level == 0) { in my_verify()
619 if (opt.transport != MBEDTLS_SSL_TRANSPORT_DATAGRAM) { in report_cid_usage()
642 if (opt.cid_enabled == MBEDTLS_SSL_CID_ENABLED) { in report_cid_usage()
895 opt.server_name = DFL_SERVER_NAME; in main()
896 opt.server_addr = DFL_SERVER_ADDR; in main()
897 opt.server_port = DFL_SERVER_PORT; in main()
898 opt.debug_level = DFL_DEBUG_LEVEL; in main()
899 opt.cid_enabled = DFL_CID_ENABLED; in main()
900 opt.cid_val = DFL_CID_VALUE; in main()
[all …]
Dssl_server2.c713 } opt; variable
1345 if (opt.transport != MBEDTLS_SSL_TRANSPORT_DATAGRAM) { in report_cid_usage()
1359 if (opt.cid_enabled == MBEDTLS_SSL_CID_ENABLED) { in report_cid_usage()
1425 switch (opt.dummy_ticket % 11) { in dummy_ticket_parse()
1671 opt.buffer_size = DFL_IO_BUF_LEN; in main()
1672 opt.server_addr = DFL_SERVER_ADDR; in main()
1673 opt.server_port = DFL_SERVER_PORT; in main()
1674 opt.debug_level = DFL_DEBUG_LEVEL; in main()
1675 opt.event = DFL_EVENT; in main()
1676 opt.response_size = DFL_RESPONSE_SIZE; in main()
[all …]
Dssl_mail_client.c149 } opt; variable
386 opt.server_name = DFL_SERVER_NAME; in main()
387 opt.server_port = DFL_SERVER_PORT; in main()
388 opt.debug_level = DFL_DEBUG_LEVEL; in main()
389 opt.authentication = DFL_AUTHENTICATION; in main()
390 opt.mode = DFL_MODE; in main()
391 opt.user_name = DFL_USER_NAME; in main()
392 opt.user_pwd = DFL_USER_PWD; in main()
393 opt.mail_from = DFL_MAIL_FROM; in main()
394 opt.mail_to = DFL_MAIL_TO; in main()
[all …]
Dssl_test_common_source.c96 if (opt.nss_keylog_file != NULL) { in nss_keylog_export()
99 if ((f = fopen(opt.nss_keylog_file, "a")) == NULL) { in nss_keylog_export()
177 if (opt.debug_level > 1) { in ssl_check_record()
183 if (opt.debug_level > 1) { in ssl_check_record()
189 if (opt.debug_level > 1) { in ssl_check_record()
216 if (opt.nbio == 2) { in recv_cb()
226 if (opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM) { in recv_cb()
251 if (opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM) { in recv_timeout_cb()
267 if (opt.nbio == 2) { in send_cb()
/mbedtls-3.5.0/programs/x509/
Dcert_write.c207 } opt; variable
220 if (opt.format == FORMAT_DER) { in write_certificate()
338 opt.issuer_crt = DFL_ISSUER_CRT; in main()
339 opt.request_file = DFL_REQUEST_FILE; in main()
340 opt.subject_key = DFL_SUBJECT_KEY; in main()
341 opt.issuer_key = DFL_ISSUER_KEY; in main()
342 opt.subject_pwd = DFL_SUBJECT_PWD; in main()
343 opt.issuer_pwd = DFL_ISSUER_PWD; in main()
344 opt.output_file = DFL_OUTPUT_FILENAME; in main()
345 opt.subject_name = DFL_SUBJECT_NAME; in main()
[all …]
Dcert_req.c115 } opt; variable
187 opt.filename = DFL_FILENAME; in main()
188 opt.password = DFL_PASSWORD; in main()
189 opt.debug_level = DFL_DEBUG_LEVEL; in main()
190 opt.output_file = DFL_OUTPUT_FILENAME; in main()
191 opt.subject_name = DFL_SUBJECT_NAME; in main()
192 opt.key_usage = DFL_KEY_USAGE; in main()
193 opt.force_key_usage = DFL_FORCE_KEY_USAGE; in main()
194 opt.ns_cert_type = DFL_NS_CERT_TYPE; in main()
195 opt.force_ns_cert_type = DFL_FORCE_NS_CERT_TYPE; in main()
[all …]
Dcert_app.c99 } opt; variable
170 opt.mode = DFL_MODE; in main()
171 opt.filename = DFL_FILENAME; in main()
172 opt.ca_file = DFL_CA_FILE; in main()
173 opt.crl_file = DFL_CRL_FILE; in main()
174 opt.ca_path = DFL_CA_PATH; in main()
175 opt.server_name = DFL_SERVER_NAME; in main()
176 opt.server_port = DFL_SERVER_PORT; in main()
177 opt.debug_level = DFL_DEBUG_LEVEL; in main()
178 opt.permissive = DFL_PERMISSIVE; in main()
[all …]
Dload_roots.c87 } opt; variable
131 opt.filenames = NULL; in main()
132 opt.iterations = DFL_ITERATIONS; in main()
133 opt.prime_cache = DFL_PRIME_CACHE; in main()
154 opt.iterations = atoi(q); in main()
156 opt.iterations = atoi(q) != 0; in main()
164 opt.filenames = (const char **) argv + i; in main()
165 if (*opt.filenames == 0) { in main()
171 if (opt.prime_cache) { in main()
172 if (!read_certificates(opt.filenames)) { in main()
[all …]
Dcrl_app.c57 } opt; variable
79 opt.filename = DFL_FILENAME; in main()
89 opt.filename = q; in main()
101 ret = mbedtls_x509_crl_parse_file(&crl, opt.filename); in main()
Dreq_app.c57 } opt; variable
79 opt.filename = DFL_FILENAME; in main()
89 opt.filename = q; in main()
101 ret = mbedtls_x509_csr_parse_file(&csr, opt.filename); in main()
/mbedtls-3.5.0/programs/test/
Dudp_proxy.c175 } opt; variable
194 opt.server_addr = DFL_SERVER_ADDR; in get_options()
195 opt.server_port = DFL_SERVER_PORT; in get_options()
196 opt.listen_addr = DFL_LISTEN_ADDR; in get_options()
197 opt.listen_port = DFL_LISTEN_PORT; in get_options()
198 opt.pack = DFL_PACK; in get_options()
201 opt.delay_cli_cnt = 0; in get_options()
202 opt.delay_srv_cnt = 0; in get_options()
203 memset(opt.delay_cli, 0, sizeof(opt.delay_cli)); in get_options()
204 memset(opt.delay_srv, 0, sizeof(opt.delay_srv)); in get_options()
[all …]
/mbedtls-3.5.0/programs/pkey/
Dgen_key.c135 } opt; variable
146 if (opt.format == FORMAT_PEM) { in write_private_key()
217 opt.type = DFL_TYPE; in main()
218 opt.rsa_keysize = DFL_RSA_KEYSIZE; in main()
219 opt.ec_curve = DFL_EC_CURVE; in main()
220 opt.filename = DFL_FILENAME; in main()
221 opt.format = DFL_FORMAT; in main()
222 opt.use_dev_random = DFL_USE_DEV_RANDOM; in main()
233 opt.type = MBEDTLS_PK_RSA; in main()
235 opt.type = MBEDTLS_PK_ECKEY; in main()
[all …]
Dkey_app_writer.c105 } opt; variable
118 if (opt.output_format == OUTPUT_FORMAT_PEM) { in write_public_key()
160 if (opt.output_format == OUTPUT_FORMAT_PEM) { in write_private_key()
229 opt.mode = DFL_MODE; in main()
230 opt.filename = DFL_FILENAME; in main()
231 opt.output_mode = DFL_OUTPUT_MODE; in main()
232 opt.output_file = DFL_OUTPUT_FILENAME; in main()
233 opt.output_format = DFL_OUTPUT_FORMAT; in main()
244 opt.mode = MODE_PRIVATE; in main()
246 opt.mode = MODE_PUBLIC; in main()
[all …]
Dkey_app.c76 } opt; variable
112 opt.mode = DFL_MODE; in main()
113 opt.filename = DFL_FILENAME; in main()
114 opt.password = DFL_PASSWORD; in main()
115 opt.password_file = DFL_PASSWORD_FILE; in main()
126 opt.mode = MODE_PRIVATE; in main()
128 opt.mode = MODE_PUBLIC; in main()
133 opt.filename = q; in main()
135 opt.password = q; in main()
137 opt.password_file = q; in main()
[all …]
/mbedtls-3.5.0/programs/util/
Dpem2der.c58 } opt; variable
198 opt.filename = DFL_FILENAME; in main()
199 opt.output_file = DFL_OUTPUT_FILENAME; in main()
210 opt.filename = q; in main()
212 opt.output_file = q; in main()
224 ret = load_file(opt.filename, &pem_buffer, &pem_size); in main()
258 ret = write_file(opt.output_file, der_buffer, der_size); in main()
/mbedtls-3.5.0/tests/scripts/
Dtest-ref-configs.pl135 my $opt = $data->{'opt'};
136 if( $opt )
149 print "\nrunning ssl-opt.sh $opt ($conf_name)\n";
150 system( "tests/ssl-opt.sh $opt" )
Dall.sh870 opt='--quiet'
872 opt=''
874 tests/scripts/check_test_cases.py -q $opt
875 unset opt
914 tests/ssl-opt.sh
936 tests/ssl-opt.sh
1041 tests/ssl-opt.sh
1057 tests/ssl-opt.sh
1070 tests/ssl-opt.sh -f RSA
1096 tests/ssl-opt.sh -f 'Default\|SSL async private.*delay=\|tickets enabled on server'
[all …]
Dbasic-in-docker.sh45 run_in_docker tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'
/mbedtls-3.5.0/docs/architecture/psa-migration/
Doutcome-analysis.sh42 tests/ssl-opt.sh
87 extra_files=$(cd tests/opt-testcases && echo *.sh)
Dtesting.md53 new API to be used, and one or more tests in `ssl-opt.sh` using that.
62 `ssl-opt.sh`.
86 `ssl-opt.sh`.
/mbedtls-3.5.0/docs/architecture/testing/
Dtest-framework.md33 Each test case in `ssl-opt.sh` has a description which succinctly describes for a human audience wh…
43 Unit tests and `ssl-opt.sh` record the outcome of each test case in a **test outcome file**. This f…
55 * **Test suite**: `test_suite_xxx` or `ssl-opt`.
/mbedtls-3.5.0/tests/
Dssl-opt-in-docker.sh66 tests/ssl-opt.sh \
DDescriptions.txt20 The 'tests/ssl-opt.sh' script checks various options and/or operations not
/mbedtls-3.5.0/include/
DCMakeLists.txt18 # Make mbedtls_config.h available in an out-of-source build. ssl-opt.sh requires it.
/mbedtls-3.5.0/docs/
Duse-psa-crypto.md43 **Use in X.509 and TLS:** opt-in. The application needs to construct the PK context
63 **Use in TLS:** opt-in. The application needs to register the key using one of

12