/mbedtls-development/programs/ssl/ |
A D | ssl_client2.c | 522 } opt; variable 920 if( opt.nbio < 0 || opt.nbio > 2 ) in main() 926 if( opt.event < 0 || opt.event > 2 ) in main() 1070 if( opt.tickets < 0 || opt.tickets > 2 ) in main() 1221 if( opt.hs_to_min == 0 || opt.hs_to_max < opt.hs_to_min ) in main() 1309 if( opt.nss_keylog != 0 && opt.eap_tls != 0 ) in main() 1318 if( opt.event == 1 && opt.nbio != 1 ) in main() 1435 opt.cid_enabled_renego = opt.cid_enabled; in main() 1437 opt.cid_val_renego = opt.cid_val; in main() 2062 opt.server_addr = opt.server_name; in main() [all …]
|
A D | ssl_server2.c | 646 } opt; variable 1596 if( opt.nbio < 0 || opt.nbio > 2 ) in main() 1602 if( opt.event < 0 || opt.event > 2 ) in main() 1619 opt.buffer_size = opt.response_size; in main() 1907 if( opt.tickets < 0 || opt.tickets > 1 ) in main() 1931 if( opt.cookies < -1 || opt.cookies > 1) in main() 1953 if( opt.hs_to_min == 0 || opt.hs_to_max < opt.hs_to_min ) in main() 2027 if( opt.nss_keylog != 0 && opt.eap_tls != 0 ) in main() 2036 if( opt.event == 1 && opt.nbio != 1 ) in main() 2158 opt.cid_enabled_renego = opt.cid_enabled; in main() [all …]
|
A D | ssl_mail_client.c | 160 } opt; variable 443 if( opt.debug_level < 0 || opt.debug_level > 65535 ) in main() 449 if( opt.authentication < 0 || opt.authentication > 1 ) in main() 455 if( opt.mode < 0 || opt.mode > 1 ) in main() 459 opt.user_name = q; in main() 461 opt.user_pwd = q; in main() 465 opt.mail_to = q; in main() 467 opt.ca_file = q; in main() 469 opt.crt_file = q; in main() 471 opt.key_file = q; in main() [all …]
|
A D | ssl_test_common_source.c | 95 if( opt.nss_keylog_file != NULL ) in nss_keylog_export() 99 if( ( f = fopen( opt.nss_keylog_file, "a" ) ) == NULL ) in nss_keylog_export() 175 if( opt.debug_level > 1 ) in ssl_check_record() 180 if( opt.debug_level > 1 ) in ssl_check_record() 185 if( opt.debug_level > 1 ) in ssl_check_record() 210 if( opt.nbio == 2 ) in recv_cb() 218 if( opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in recv_cb() 242 if( opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in recv_timeout_cb() 258 if( opt.nbio == 2 ) in send_cb()
|
/mbedtls-development/programs/x509/ |
A D | cert_write.c | 180 } opt; variable 365 if( opt.version < 1 || opt.version > 3 ) in main() 370 opt.version--; in main() 375 if( opt.selfsign < 0 || opt.selfsign > 1 ) in main() 384 if( opt.is_ca < 0 || opt.is_ca > 1 ) in main() 393 if( opt.max_pathlen < -1 || opt.max_pathlen > 127 ) in main() 500 if( !opt.selfsign && strlen( opt.issuer_crt ) ) in main() 534 if( !opt.selfsign && strlen( opt.request_file ) ) in main() 570 if( !opt.selfsign && !strlen( opt.request_file ) ) in main() 616 if( opt.selfsign ) in main() [all …]
|
A D | cert_req.c | 119 } opt; variable 187 opt.md_alg = DFL_MD_ALG; in main() 198 opt.filename = q; in main() 200 opt.password = q; in main() 202 opt.output_file = q; in main() 205 opt.debug_level = atoi( q ); in main() 206 if( opt.debug_level < 0 || opt.debug_level > 65535 ) in main() 211 opt.subject_name = q; in main() 302 if( opt.key_usage || opt.force_key_usage == 1 ) in main() 305 if( opt.ns_cert_type || opt.force_ns_cert_type == 1 ) in main() [all …]
|
A D | cert_app.c | 112 } opt; variable 218 opt.filename = q; in main() 220 opt.ca_file = q; in main() 222 opt.crl_file = q; in main() 224 opt.ca_path = q; in main() 226 opt.server_name = q; in main() 228 opt.server_port = q; in main() 232 if( opt.debug_level < 0 || opt.debug_level > 65535 ) in main() 238 if( opt.permissive < 0 || opt.permissive > 1 ) in main() 251 if( strlen( opt.ca_path ) ) in main() [all …]
|
A D | load_roots.c | 100 } opt; variable 147 opt.filenames = NULL; in main() 148 opt.iterations = DFL_ITERATIONS; in main() 149 opt.prime_cache = DFL_PRIME_CACHE; in main() 170 opt.iterations = atoi( q ); in main() 174 opt.iterations = atoi( q ) != 0; in main() 184 opt.filenames = (const char**) argv + i; in main() 185 if( *opt.filenames == 0 ) in main() 192 if( opt.prime_cache ) in main() 194 if( ! read_certificates( opt.filenames ) ) in main() [all …]
|
A D | crl_app.c | 67 } opt; variable 90 opt.filename = DFL_FILENAME; in main() 100 opt.filename = q; in main() 111 ret = mbedtls_x509_crl_parse_file( &crl, opt.filename ); in main()
|
A D | req_app.c | 67 } opt; variable 90 opt.filename = DFL_FILENAME; in main() 100 opt.filename = q; in main() 111 ret = mbedtls_x509_csr_parse_file( &csr, opt.filename ); in main()
|
/mbedtls-development/programs/test/ |
A D | udp_proxy.c | 171 } opt; variable 198 memset( opt.delay_cli, 0, sizeof( opt.delay_cli ) ); in get_options() 199 memset( opt.delay_srv, 0, sizeof( opt.delay_srv ) ); in get_options() 219 if( opt.duplicate < 0 || opt.duplicate > 20 ) in get_options() 225 if( opt.delay < 0 || opt.delay > 20 || opt.delay == 1 ) in get_options() 231 if( opt.delay_ccs < 0 || opt.delay_ccs > 1 ) in get_options() 274 if( opt.drop < 0 || opt.drop > 20 || opt.drop == 1 ) in get_options() 289 if( opt.mtu < 0 || opt.mtu > MAX_MSG_SIZE ) in get_options() 295 if( opt.bad_ad < 0 || opt.bad_ad > 1 ) in get_options() 844 opt.server_addr, opt.server_port ); in main() [all …]
|
/mbedtls-development/programs/pkey/ |
A D | gen_key.c | 146 } opt; variable 157 if( opt.format == FORMAT_PEM ) in write_private_key() 229 opt.type = DFL_TYPE; in main() 255 opt.format = FORMAT_PEM; in main() 257 opt.format = FORMAT_DER; in main() 263 opt.rsa_keysize = atoi( q ); in main() 277 opt.filename = q; in main() 281 if( opt.use_dev_random < 0 || opt.use_dev_random > 1 ) in main() 293 if( opt.use_dev_random ) in main() 330 if( opt.type == MBEDTLS_PK_RSA ) in main() [all …]
|
A D | key_app_writer.c | 115 } opt; variable 240 opt.mode = DFL_MODE; in main() 241 opt.filename = DFL_FILENAME; in main() 256 opt.mode = MODE_PRIVATE; in main() 258 opt.mode = MODE_PUBLIC; in main() 284 opt.filename = q; in main() 286 opt.output_file = q; in main() 291 if( opt.mode == MODE_NONE && opt.output_mode != OUTPUT_MODE_NONE ) in main() 297 if( opt.mode == MODE_PUBLIC && opt.output_mode == OUTPUT_MODE_PRIVATE ) in main() 303 if( opt.mode == MODE_PRIVATE ) in main() [all …]
|
A D | key_app.c | 86 } opt; variable 123 opt.mode = DFL_MODE; in main() 140 opt.mode = MODE_PUBLIC; in main() 145 opt.filename = q; in main() 147 opt.password = q; in main() 149 opt.password_file = q; in main() 154 if( opt.mode == MODE_PRIVATE ) in main() 156 if( strlen( opt.password ) && strlen( opt.password_file ) ) in main() 183 opt.password = buf; in main() 200 ret = mbedtls_pk_parse_keyfile( &pk, opt.filename, opt.password, in main() [all …]
|
/mbedtls-development/tests/scripts/ |
A D | test-ref-configs.pl | 109 my $opt = $data->{'opt'}; 110 if( $opt ) 112 print "\nrunning ssl-opt.sh $opt\n"; 113 system( "tests/ssl-opt.sh $opt" )
|
A D | depends-pkalgs.pl | 94 for my $opt (@$extras) { 95 system( "scripts/config.py unset $opt" ) 96 and abort "Failed to disable $opt\n";
|
A D | depends-hashes.pl | 88 for my $opt (@ssl) { 89 system( "scripts/config.py unset $opt" ) 90 and abort "Failed to disable $opt\n";
|
A D | all.sh | 863 opt='--quiet' 865 opt='' 868 unset opt 911 tests/ssl-opt.sh 933 tests/ssl-opt.sh 1025 tests/ssl-opt.sh 1041 tests/ssl-opt.sh 1544 tests/ssl-opt.sh 2041 tests/ssl-opt.sh 2075 tests/ssl-opt.sh [all …]
|
A D | basic-in-docker.sh | 41 run_in_docker tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'
|
/mbedtls-development/programs/util/ |
A D | pem2der.c | 70 } opt; variable 203 opt.filename = DFL_FILENAME; in main() 204 opt.output_file = DFL_OUTPUT_FILENAME; in main() 215 opt.filename = q; in main() 217 opt.output_file = q; in main() 228 ret = load_file( opt.filename, &pem_buffer, &pem_size ); in main() 264 ret = write_file( opt.output_file, der_buffer, der_size ); in main()
|
/mbedtls-development/tests/ |
A D | ssl-opt-in-docker.sh | 62 tests/ssl-opt.sh \
|
A D | Descriptions.txt | 20 The 'tests/ssl-opt.sh' script checks various options and/or operations not
|
/mbedtls-development/docs/architecture/testing/ |
A 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-development/include/ |
A D | CMakeLists.txt | 18 # Make mbedtls_config.h available in an out-of-source build. ssl-opt.sh requires it.
|
/mbedtls-development/docs/ |
A D | use-psa-crypto.md | 29 below these are indicated by "Use in (X.509 and) TLS: opt-in", meaning that 53 Use in X.509 and TLS: opt-in. The application needs to construct the PK context 84 Use in TLS: opt-in. The application needs to register the key using the new
|