/mbedtls-3.5.0/programs/ssl/ |
D | ssl_client2.c | 565 } 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 …]
|
D | ssl_server2.c | 713 } 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 …]
|
D | ssl_mail_client.c | 149 } 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 …]
|
D | ssl_test_common_source.c | 96 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/ |
D | cert_write.c | 207 } 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 …]
|
D | cert_req.c | 115 } 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 …]
|
D | cert_app.c | 99 } 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 …]
|
D | load_roots.c | 87 } 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 …]
|
D | crl_app.c | 57 } 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()
|
D | req_app.c | 57 } 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/ |
D | udp_proxy.c | 175 } 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/ |
D | gen_key.c | 135 } 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 …]
|
D | key_app_writer.c | 105 } 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 …]
|
D | key_app.c | 76 } 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/ |
D | pem2der.c | 58 } 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/ |
D | test-ref-configs.pl | 135 my $opt = $data->{'opt'}; 136 if( $opt ) 149 print "\nrunning ssl-opt.sh $opt ($conf_name)\n"; 150 system( "tests/ssl-opt.sh $opt" )
|
D | all.sh | 870 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 …]
|
D | basic-in-docker.sh | 45 run_in_docker tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'
|
/mbedtls-3.5.0/docs/architecture/psa-migration/ |
D | outcome-analysis.sh | 42 tests/ssl-opt.sh 87 extra_files=$(cd tests/opt-testcases && echo *.sh)
|
D | testing.md | 53 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/ |
D | test-framework.md | 33 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/ |
D | ssl-opt-in-docker.sh | 66 tests/ssl-opt.sh \
|
D | Descriptions.txt | 20 The 'tests/ssl-opt.sh' script checks various options and/or operations not
|
/mbedtls-3.5.0/include/ |
D | CMakeLists.txt | 18 # Make mbedtls_config.h available in an out-of-source build. ssl-opt.sh requires it.
|
/mbedtls-3.5.0/docs/ |
D | use-psa-crypto.md | 43 **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
|