Searched refs:opt (Results 1 – 14 of 14) sorted by relevance
| /programs/ssl/ |
| A D | ssl_client2.c | 552 } opt; variable 1068 if (opt.nbio < 0 || opt.nbio > 2) { in main() 1073 if (opt.event < 0 || opt.event > 2) { in main() 1365 if (opt.hs_to_min == 0 || opt.hs_to_max < opt.hs_to_min) { in main() 1438 if (opt.nss_keylog != 0 && opt.eap_tls != 0) { in main() 1446 if (opt.event == 1 && opt.nbio != 1) { in main() 1539 opt.cid_enabled_renego = opt.cid_enabled; in main() 1542 opt.cid_val_renego = opt.cid_val; in main() 2134 if (opt.use_srtp != 0 && strlen(opt.mki) != 0) { in main() 2156 opt.server_addr = opt.server_name; in main() [all …]
|
| A D | ssl_server2.c | 713 } opt; variable 1854 if (opt.nbio < 0 || opt.nbio > 2) { in main() 1859 if (opt.event < 0 || opt.event > 2) { in main() 1879 opt.buffer_size = opt.response_size; in main() 2225 if (opt.hs_to_min == 0 || opt.hs_to_max < opt.hs_to_min) { in main() 2254 if (opt.eap_tls < 0 || opt.eap_tls > 1) { in main() 2291 if (opt.nss_keylog != 0 && opt.eap_tls != 0) { in main() 2299 if (opt.event == 1 && opt.nbio != 1) { in main() 2409 opt.cid_enabled_renego = opt.cid_enabled; in main() 2412 opt.cid_val_renego = opt.cid_val; in main() [all …]
|
| A D | ssl_mail_client.c | 139 } opt; variable 411 if (opt.debug_level < 0 || opt.debug_level > 65535) { in main() 416 if (opt.authentication < 0 || opt.authentication > 1) { in main() 421 if (opt.mode < 0 || opt.mode > 1) { in main() 425 opt.user_name = q; in main() 427 opt.user_pwd = q; in main() 431 opt.mail_to = q; in main() 433 opt.ca_file = q; in main() 435 opt.crt_file = q; in main() 437 opt.key_file = q; in main() [all …]
|
| A D | ssl_test_common_source.c | 84 if (opt.nss_keylog_file != NULL) { in nss_keylog_export() 87 if ((f = fopen(opt.nss_keylog_file, "a")) == NULL) { in nss_keylog_export() 165 if (opt.debug_level > 1) { in ssl_check_record() 171 if (opt.debug_level > 1) { in ssl_check_record() 177 if (opt.debug_level > 1) { in ssl_check_record() 204 if (opt.nbio == 2) { in recv_cb() 214 if (opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM) { in recv_cb() 239 if (opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM) { in recv_timeout_cb() 255 if (opt.nbio == 2) { in send_cb()
|
| /programs/x509/ |
| A D | cert_write.c | 207 } opt; variable 444 if (opt.version < 1 || opt.version > 3) { in main() 451 if (opt.selfsign < 0 || opt.selfsign > 1) { in main() 457 if (opt.is_ca < 0 || opt.is_ca > 1) { in main() 463 if (opt.max_pathlen < -1 || opt.max_pathlen > 127) { in main() 717 if (!opt.selfsign && strlen(opt.issuer_crt)) { in main() 748 if (!opt.selfsign && strlen(opt.request_file)) { in main() 781 if (!opt.selfsign && !strlen(opt.request_file)) { in main() 821 if (opt.selfsign) { in main() 822 opt.subject_name = opt.issuer_name; in main() [all …]
|
| A D | cert_req.c | 110 } opt; variable 197 opt.filename = q; in main() 199 opt.password = q; in main() 201 opt.output_file = q; in main() 204 if (opt.debug_level < 0 || opt.debug_level > 65535) { in main() 208 opt.subject_name = q; in main() 397 if (opt.key_usage || opt.force_key_usage == 1) { in main() 407 if (opt.ns_cert_type || opt.force_ns_cert_type == 1) { in main() 417 if (opt.san_list != NULL) { in main() 462 ret = mbedtls_pk_parse_keyfile(&key, opt.filename, opt.password); in main() [all …]
|
| A D | cert_app.c | 89 } opt; variable 200 opt.filename = q; in main() 202 opt.ca_file = q; in main() 204 opt.crl_file = q; in main() 206 opt.ca_path = q; in main() 208 opt.server_name = q; in main() 210 opt.server_port = q; in main() 213 if (opt.debug_level < 0 || opt.debug_level > 65535) { in main() 218 if (opt.permissive < 0 || opt.permissive > 1) { in main() 232 if (strlen(opt.ca_path)) { in main() [all …]
|
| A D | load_roots.c | 50 } opt; variable 101 opt.filenames = NULL; in main() 102 opt.iterations = DFL_ITERATIONS; in main() 103 opt.prime_cache = DFL_PRIME_CACHE; in main() 124 opt.iterations = atoi(q); in main() 126 opt.iterations = atoi(q) != 0; in main() 134 opt.filenames = (const char **) argv + i; in main() 135 if (*opt.filenames == 0) { in main() 141 if (opt.prime_cache) { in main() 142 if (!read_certificates(opt.filenames)) { in main() [all …]
|
| A D | crl_app.c | 47 } opt; variable 76 opt.filename = DFL_FILENAME; in main() 86 opt.filename = q; in main() 98 ret = mbedtls_x509_crl_parse_file(&crl, opt.filename); in main()
|
| A D | req_app.c | 47 } opt; variable 76 opt.filename = DFL_FILENAME; in main() 86 opt.filename = q; in main() 98 ret = mbedtls_x509_csr_parse_file(&csr, opt.filename); in main()
|
| /programs/test/ |
| A D | udp_proxy.c | 165 } opt; variable 193 memset(opt.delay_cli, 0, sizeof(opt.delay_cli)); in get_options() 194 memset(opt.delay_srv, 0, sizeof(opt.delay_srv)); in get_options() 213 if (opt.duplicate < 0 || opt.duplicate > 20) { in get_options() 218 if (opt.delay < 0 || opt.delay > 20 || opt.delay == 1) { in get_options() 223 if (opt.delay_ccs < 0 || opt.delay_ccs > 1) { in get_options() 258 if (opt.drop < 0 || opt.drop > 20 || opt.drop == 1) { in get_options() 270 if (opt.mtu < 0 || opt.mtu > MAX_MSG_SIZE) { in get_options() 275 if (opt.bad_ad < 0 || opt.bad_ad > 1) { in get_options() 808 opt.server_addr, opt.server_port); in main() [all …]
|
| /programs/pkey/ |
| A D | gen_key.c | 123 } opt; variable 134 if (opt.format == FORMAT_PEM) { in write_private_key() 281 opt.type = DFL_TYPE; in main() 305 opt.format = FORMAT_PEM; in main() 307 opt.format = FORMAT_DER; in main() 312 opt.rsa_keysize = atoi(q); in main() 327 opt.filename = q; in main() 330 if (opt.use_dev_random < 0 || opt.use_dev_random > 1) { in main() 342 if (opt.use_dev_random) { in main() 377 if (opt.type == MBEDTLS_PK_RSA) { in main() [all …]
|
| /programs/util/ |
| A D | pem2der.c | 48 } opt; variable 188 opt.filename = DFL_FILENAME; in main() 189 opt.output_file = DFL_OUTPUT_FILENAME; in main() 200 opt.filename = q; in main() 202 opt.output_file = q; in main() 214 ret = load_file(opt.filename, &pem_buffer, &pem_size); in main() 248 ret = write_file(opt.output_file, der_buffer, der_size); in main()
|
| /programs/ |
| A D | Makefile | 106 ssl-opt: $(patsubst %,%$(EXEXT),$(SSL_OPT_APPS)) 107 .PHONY: ssl-opt
|
Completed in 43 milliseconds