Home
last modified time | relevance | path

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

12

/openthread-latest/third_party/mbedtls/repo/programs/ssl/
Dssl_client2.c554 } opt; variable
578 if (opt.debug_level == 0) { in my_verify()
608 if (opt.transport != MBEDTLS_SSL_TRANSPORT_DATAGRAM) { in report_cid_usage()
631 if (opt.cid_enabled == MBEDTLS_SSL_CID_ENABLED) { in report_cid_usage()
727 ret = mbedtls_snprintf((char *) buf, buf_size, GET_REQUEST, opt.request_page); in build_http_request()
734 if (opt.request_size != DFL_REQUEST_SIZE) { in build_http_request()
735 request_size = (size_t) opt.request_size; in build_http_request()
745 if (opt.request_size != DFL_REQUEST_SIZE && in build_http_request()
755 if (opt.request_size != DFL_REQUEST_SIZE && in build_http_request()
910 opt.server_name = DFL_SERVER_NAME; in main()
[all …]
Dssl_server2.c711 } opt; variable
1343 if (opt.transport != MBEDTLS_SSL_TRANSPORT_DATAGRAM) { in report_cid_usage()
1357 if (opt.cid_enabled == MBEDTLS_SSL_CID_ENABLED) { in report_cid_usage()
1423 switch (opt.dummy_ticket % 11) { in dummy_ticket_parse()
1681 opt.buffer_size = DFL_IO_BUF_LEN; in main()
1682 opt.server_addr = DFL_SERVER_ADDR; in main()
1683 opt.server_port = DFL_SERVER_PORT; in main()
1684 opt.debug_level = DFL_DEBUG_LEVEL; in main()
1685 opt.event = DFL_EVENT; in main()
1686 opt.response_size = DFL_RESPONSE_SIZE; in main()
[all …]
Dssl_mail_client.c137 } opt; variable
384 opt.server_name = DFL_SERVER_NAME; in main()
385 opt.server_port = DFL_SERVER_PORT; in main()
386 opt.debug_level = DFL_DEBUG_LEVEL; in main()
387 opt.authentication = DFL_AUTHENTICATION; in main()
388 opt.mode = DFL_MODE; in main()
389 opt.user_name = DFL_USER_NAME; in main()
390 opt.user_pwd = DFL_USER_PWD; in main()
391 opt.mail_from = DFL_MAIL_FROM; in main()
392 opt.mail_to = DFL_MAIL_TO; in main()
[all …]
Dssl_test_common_source.c84 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()
/openthread-latest/third_party/mbedtls/repo/programs/x509/
Dcert_write.c205 } opt; variable
218 if (opt.format == FORMAT_DER) { in write_certificate()
347 opt.issuer_crt = DFL_ISSUER_CRT; in main()
348 opt.request_file = DFL_REQUEST_FILE; in main()
349 opt.subject_key = DFL_SUBJECT_KEY; in main()
350 opt.issuer_key = DFL_ISSUER_KEY; in main()
351 opt.subject_pwd = DFL_SUBJECT_PWD; in main()
352 opt.issuer_pwd = DFL_ISSUER_PWD; in main()
353 opt.output_file = DFL_OUTPUT_FILENAME; in main()
354 opt.subject_name = DFL_SUBJECT_NAME; in main()
[all …]
Dcert_req.c108 } opt; variable
181 opt.filename = DFL_FILENAME; in main()
182 opt.password = DFL_PASSWORD; in main()
183 opt.debug_level = DFL_DEBUG_LEVEL; in main()
184 opt.output_file = DFL_OUTPUT_FILENAME; in main()
185 opt.subject_name = DFL_SUBJECT_NAME; in main()
186 opt.key_usage = DFL_KEY_USAGE; in main()
187 opt.force_key_usage = DFL_FORCE_KEY_USAGE; in main()
188 opt.ns_cert_type = DFL_NS_CERT_TYPE; in main()
189 opt.force_ns_cert_type = DFL_FORCE_NS_CERT_TYPE; in main()
[all …]
Dcert_app.c87 } opt; variable
168 opt.mode = DFL_MODE; in main()
169 opt.filename = DFL_FILENAME; in main()
170 opt.ca_file = DFL_CA_FILE; in main()
171 opt.crl_file = DFL_CRL_FILE; in main()
172 opt.ca_path = DFL_CA_PATH; in main()
173 opt.server_name = DFL_SERVER_NAME; in main()
174 opt.server_port = DFL_SERVER_PORT; in main()
175 opt.debug_level = DFL_DEBUG_LEVEL; in main()
176 opt.permissive = DFL_PERMISSIVE; in main()
[all …]
Dload_roots.c48 } 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 …]
Dcrl_app.c45 } 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()
Dreq_app.c45 } 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()
/openthread-latest/third_party/mbedtls/repo/programs/test/
Dudp_proxy.c162 } opt; variable
181 opt.server_addr = DFL_SERVER_ADDR; in get_options()
182 opt.server_port = DFL_SERVER_PORT; in get_options()
183 opt.listen_addr = DFL_LISTEN_ADDR; in get_options()
184 opt.listen_port = DFL_LISTEN_PORT; in get_options()
185 opt.pack = DFL_PACK; in get_options()
188 opt.delay_cli_cnt = 0; in get_options()
189 opt.delay_srv_cnt = 0; in get_options()
190 memset(opt.delay_cli, 0, sizeof(opt.delay_cli)); in get_options()
191 memset(opt.delay_srv, 0, sizeof(opt.delay_srv)); in get_options()
[all …]
/openthread-latest/third_party/mbedtls/repo/programs/pkey/
Dkey_app_writer.c90 } opt; variable
103 if (opt.output_format == OUTPUT_FORMAT_PEM) { in write_public_key()
145 if (opt.output_format == OUTPUT_FORMAT_PEM) { in write_private_key()
292 opt.mode = DFL_MODE; in main()
293 opt.filename = DFL_FILENAME; in main()
294 opt.output_mode = DFL_OUTPUT_MODE; in main()
295 opt.output_file = DFL_OUTPUT_FILENAME; in main()
296 opt.output_format = DFL_OUTPUT_FORMAT; in main()
307 opt.mode = MODE_PRIVATE; in main()
309 opt.mode = MODE_PUBLIC; in main()
[all …]
Dgen_key.c120 } opt; variable
131 if (opt.format == FORMAT_PEM) { in write_private_key()
280 opt.type = DFL_TYPE; in main()
281 opt.rsa_keysize = DFL_RSA_KEYSIZE; in main()
282 opt.ec_curve = DFL_EC_CURVE; in main()
283 opt.filename = DFL_FILENAME; in main()
284 opt.format = DFL_FORMAT; in main()
285 opt.use_dev_random = DFL_USE_DEV_RANDOM; in main()
296 opt.type = MBEDTLS_PK_RSA; in main()
298 opt.type = MBEDTLS_PK_ECKEY; in main()
[all …]
Dkey_app.c129 } opt; variable
174 opt.mode = DFL_MODE; in main()
175 opt.filename = DFL_FILENAME; in main()
176 opt.password = DFL_PASSWORD; in main()
177 opt.password_file = DFL_PASSWORD_FILE; in main()
188 opt.mode = MODE_PRIVATE; in main()
190 opt.mode = MODE_PUBLIC; in main()
195 opt.filename = q; in main()
197 opt.password = q; in main()
199 opt.password_file = q; in main()
[all …]
/openthread-latest/third_party/mbedtls/repo/programs/util/
Dpem2der.c46 } opt; variable
186 opt.filename = DFL_FILENAME; in main()
187 opt.output_file = DFL_OUTPUT_FILENAME; in main()
198 opt.filename = q; in main()
200 opt.output_file = q; in main()
212 ret = load_file(opt.filename, &pem_buffer, &pem_size); in main()
246 ret = write_file(opt.output_file, der_buffer, der_size); in main()
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dtest-ref-configs.pl126 my $opt = $data->{'opt'};
127 if( $opt )
140 print "\nrunning ssl-opt.sh $opt ($conf_name)\n";
141 system( "tests/ssl-opt.sh $opt" )
Dall.sh1067 opt='--quiet'
1069 opt=''
1071 tests/scripts/check_test_cases.py -q $opt
1072 unset opt
1175 tests/ssl-opt.sh
1197 tests/ssl-opt.sh
1219 tests/ssl-opt.sh
1243 tests/ssl-opt.sh
1395 tests/ssl-opt.sh
1411 tests/ssl-opt.sh
[all …]
/openthread-latest/tests/scripts/thread-cert/border_router/
Dtest_radvd_coexist.py155 .filter(lambda p: RA_OPT_TYPE_PIO in p.icmpv6.opt.type) \
161 .filter(lambda p: RA_OPT_TYPE_RIO in p.icmpv6.opt.type) \
171 .filter(lambda p: RA_OPT_TYPE_PIO in p.icmpv6.opt.type) \
178 .filter(lambda p: RA_OPT_TYPE_RIO in p.icmpv6.opt.type) \
Dtest_manual_omr_prefix.py114 …_pkts.filter(lambda p: ICMPV6_RA_OPT_TYPE_RIO in p.icmpv6.opt.type and '2004::' in p.icmpv6.opt.pr…
115 BR_1_OMR_PREFIX in p.icmpv6.opt.prefix).must_next()
/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp_timewait.c126 uint8_t opt[TCP_MAXOLEN]; in tcp_twrespond() local
139 optlen = tcp_addoptions(&to, opt); in tcp_twrespond()
167 memcpy(nth + 1, opt, optlen); in tcp_twrespond()
/openthread-latest/tests/scripts/thread-cert/
Dnetwork_layer.py257 return "NdOption(options=[{}])".format(", ".join([str(opt) for opt in self.options]))
263 options = [opt for opt in bytearray(data.read())]
Dcoap.py257 options_str = ", ".join([repr(opt) for opt in self.options])
336 options_str = ", ".join([repr(opt) for opt in self.options])
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Doutcome-analysis.sh42 tests/ssl-opt.sh
90 extra_files=$(cd tests/opt-testcases && echo *.sh)
/openthread-latest/third_party/mbedtls/repo/docs/architecture/testing/
Dtest-framework.md33 Each test case in `ssl-opt.sh` has a description which succinctly describes for a human audience wh…
41 …ions). In addition, failure cause in `compat.sh` is not classified as `ssl-opt.sh`, so the informa…
49 Unit tests, `ssl-opt.sh` and `compat.sh` record the outcome of each test case in a **test outcome f…
61 * **Test suite**: `test_suite_xxx`, `ssl-opt` or `compat`.
/openthread-latest/script/
Dbootstrap72 && sudo tar xjf gcc-arm-none-eabi-9-2020-q2-update-"$ARCH"-linux.tar.bz2 -C /opt \
74 && sudo ln -s -f /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/* /usr/local/bin/.)

12