Home
last modified time | relevance | path

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

12

/mbedtls-3.4.0/programs/ssl/
Dssl_client2.c555 } opt; variable
578 if( opt.debug_level == 0 ) in my_verify()
608 if( opt.transport != MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in report_cid_usage()
632 if( opt.cid_enabled == MBEDTLS_SSL_CID_ENABLED ) in report_cid_usage()
892 opt.server_name = DFL_SERVER_NAME; in main()
893 opt.server_addr = DFL_SERVER_ADDR; in main()
894 opt.server_port = DFL_SERVER_PORT; in main()
895 opt.debug_level = DFL_DEBUG_LEVEL; in main()
896 opt.cid_enabled = DFL_CID_ENABLED; in main()
897 opt.cid_val = DFL_CID_VALUE; in main()
[all …]
Dssl_server2.c699 } opt; variable
1331 if( opt.transport != MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in report_cid_usage()
1346 if( opt.cid_enabled == MBEDTLS_SSL_CID_ENABLED ) in report_cid_usage()
1412 switch( opt.dummy_ticket % 7 ) in dummy_ticket_parse()
1642 opt.buffer_size = DFL_IO_BUF_LEN; in main()
1643 opt.server_addr = DFL_SERVER_ADDR; in main()
1644 opt.server_port = DFL_SERVER_PORT; in main()
1645 opt.debug_level = DFL_DEBUG_LEVEL; in main()
1646 opt.event = DFL_EVENT; in main()
1647 opt.response_size = DFL_RESPONSE_SIZE; in main()
[all …]
Dssl_mail_client.c148 } opt; variable
403 opt.server_name = DFL_SERVER_NAME; in main()
404 opt.server_port = DFL_SERVER_PORT; in main()
405 opt.debug_level = DFL_DEBUG_LEVEL; in main()
406 opt.authentication = DFL_AUTHENTICATION; in main()
407 opt.mode = DFL_MODE; in main()
408 opt.user_name = DFL_USER_NAME; in main()
409 opt.user_pwd = DFL_USER_PWD; in main()
410 opt.mail_from = DFL_MAIL_FROM; in main()
411 opt.mail_to = DFL_MAIL_TO; in main()
[all …]
Dssl_test_common_source.c95 if( opt.nss_keylog_file != NULL ) in nss_keylog_export()
99 if( ( f = fopen( opt.nss_keylog_file, "a" ) ) == NULL ) in nss_keylog_export()
179 if( opt.debug_level > 1 ) in ssl_check_record()
184 if( opt.debug_level > 1 ) in ssl_check_record()
189 if( opt.debug_level > 1 ) in ssl_check_record()
214 if( opt.nbio == 2 ) in recv_cb()
222 if( opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in recv_cb()
246 if( opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in recv_timeout_cb()
262 if( opt.nbio == 2 ) in send_cb()
/mbedtls-3.4.0/programs/x509/
Dcert_write.c192 } opt; variable
205 if ( opt.format == FORMAT_DER ) in write_certificate()
283 opt.issuer_crt = DFL_ISSUER_CRT; in main()
284 opt.request_file = DFL_REQUEST_FILE; in main()
285 opt.subject_key = DFL_SUBJECT_KEY; in main()
286 opt.issuer_key = DFL_ISSUER_KEY; in main()
287 opt.subject_pwd = DFL_SUBJECT_PWD; in main()
288 opt.issuer_pwd = DFL_ISSUER_PWD; in main()
289 opt.output_file = DFL_OUTPUT_FILENAME; in main()
290 opt.subject_name = DFL_SUBJECT_NAME; in main()
[all …]
Dcert_req.c110 } opt; variable
169 opt.filename = DFL_FILENAME; in main()
170 opt.password = DFL_PASSWORD; in main()
171 opt.debug_level = DFL_DEBUG_LEVEL; in main()
172 opt.output_file = DFL_OUTPUT_FILENAME; in main()
173 opt.subject_name = DFL_SUBJECT_NAME; in main()
174 opt.key_usage = DFL_KEY_USAGE; in main()
175 opt.force_key_usage = DFL_FORCE_KEY_USAGE; in main()
176 opt.ns_cert_type = DFL_NS_CERT_TYPE; in main()
177 opt.force_ns_cert_type = DFL_FORCE_NS_CERT_TYPE; in main()
[all …]
Dcert_app.c100 } opt; variable
173 opt.mode = DFL_MODE; in main()
174 opt.filename = DFL_FILENAME; in main()
175 opt.ca_file = DFL_CA_FILE; in main()
176 opt.crl_file = DFL_CRL_FILE; in main()
177 opt.ca_path = DFL_CA_PATH; in main()
178 opt.server_name = DFL_SERVER_NAME; in main()
179 opt.server_port = DFL_SERVER_PORT; in main()
180 opt.debug_level = DFL_DEBUG_LEVEL; in main()
181 opt.permissive = DFL_PERMISSIVE; in main()
[all …]
Dload_roots.c88 } opt; variable
135 opt.filenames = NULL; in main()
136 opt.iterations = DFL_ITERATIONS; in main()
137 opt.prime_cache = DFL_PRIME_CACHE; in main()
158 opt.iterations = atoi( q ); in main()
162 opt.iterations = atoi( q ) != 0; in main()
172 opt.filenames = (const char**) argv + i; in main()
173 if( *opt.filenames == 0 ) in main()
180 if( opt.prime_cache ) in main()
182 if( ! read_certificates( opt.filenames ) ) in main()
[all …]
Dcrl_app.c58 } opt; variable
81 opt.filename = DFL_FILENAME; in main()
91 opt.filename = q; in main()
102 ret = mbedtls_x509_crl_parse_file( &crl, opt.filename ); in main()
Dreq_app.c58 } opt; variable
81 opt.filename = DFL_FILENAME; in main()
91 opt.filename = q; in main()
102 ret = mbedtls_x509_csr_parse_file( &csr, opt.filename ); in main()
/mbedtls-3.4.0/programs/test/
Dudp_proxy.c176 } 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.4.0/programs/pkey/
Dgen_key.c137 } opt; variable
148 if( opt.format == FORMAT_PEM ) in write_private_key()
220 opt.type = DFL_TYPE; in main()
221 opt.rsa_keysize = DFL_RSA_KEYSIZE; in main()
222 opt.ec_curve = DFL_EC_CURVE; in main()
223 opt.filename = DFL_FILENAME; in main()
224 opt.format = DFL_FORMAT; in main()
225 opt.use_dev_random = DFL_USE_DEV_RANDOM; in main()
237 opt.type = MBEDTLS_PK_RSA; in main()
239 opt.type = MBEDTLS_PK_ECKEY; in main()
[all …]
Dkey_app_writer.c106 } opt; variable
119 if( opt.output_format == OUTPUT_FORMAT_PEM ) in write_public_key()
161 if( opt.output_format == OUTPUT_FORMAT_PEM ) in write_private_key()
231 opt.mode = DFL_MODE; in main()
232 opt.filename = DFL_FILENAME; in main()
233 opt.output_mode = DFL_OUTPUT_MODE; in main()
234 opt.output_file = DFL_OUTPUT_FILENAME; in main()
235 opt.output_format = DFL_OUTPUT_FORMAT; in main()
247 opt.mode = MODE_PRIVATE; in main()
249 opt.mode = MODE_PUBLIC; in main()
[all …]
Dkey_app.c77 } opt; variable
114 opt.mode = DFL_MODE; in main()
115 opt.filename = DFL_FILENAME; in main()
116 opt.password = DFL_PASSWORD; in main()
117 opt.password_file = DFL_PASSWORD_FILE; in main()
129 opt.mode = MODE_PRIVATE; in main()
131 opt.mode = MODE_PUBLIC; in main()
136 opt.filename = q; in main()
138 opt.password = q; in main()
140 opt.password_file = q; in main()
[all …]
/mbedtls-3.4.0/programs/util/
Dpem2der.c59 } opt; variable
192 opt.filename = DFL_FILENAME; in main()
193 opt.output_file = DFL_OUTPUT_FILENAME; in main()
204 opt.filename = q; in main()
206 opt.output_file = q; in main()
217 ret = load_file( opt.filename, &pem_buffer, &pem_size ); in main()
253 ret = write_file( opt.output_file, der_buffer, der_size ); in main()
/mbedtls-3.4.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.sh868 opt='--quiet'
870 opt=''
872 tests/scripts/check_test_cases.py $opt
873 unset opt
879 …not grep -n '^ *requires_config_disabled.*MBEDTLS_USE_PSA_CRYPTO' tests/ssl-opt.sh tests/opt-testc…
918 tests/ssl-opt.sh
940 tests/ssl-opt.sh
1032 tests/ssl-opt.sh
1048 tests/ssl-opt.sh
1061 tests/ssl-opt.sh -f RSA
[all …]
Dbasic-in-docker.sh41 run_in_docker tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'
/mbedtls-3.4.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.4.0/tests/
Dssl-opt-in-docker.sh62 tests/ssl-opt.sh \
DDescriptions.txt20 The 'tests/ssl-opt.sh' script checks various options and/or operations not
DCMakeLists.txt250 link_to_source(ssl-opt.sh)
251 link_to_source(opt-testcases)
/mbedtls-3.4.0/docs/architecture/psa-migration/
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.4.0/include/
DCMakeLists.txt18 # Make mbedtls_config.h available in an out-of-source build. ssl-opt.sh requires it.
/mbedtls-3.4.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