Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 83) sorted by relevance

1234

/openthread-2.7.6/third_party/mbedtls/repo/tests/scripts/
Dtest_config_script.py83 def list_presets(options): argument
89 if options.presets:
90 return re.split(r'[ ,]+', options.presets)
92 help_text = subprocess.run([options.script, '--help'],
98 def run_one(options, args, stem_prefix='', input_file=None): argument
115 input_file = options.input_file
117 data_filename = output_file_name(options.output_directory, stem, 'h')
118 stdout_filename = output_file_name(options.output_directory, stem, 'out')
119 stderr_filename = output_file_name(options.output_directory, stem, 'err')
120 status_filename = output_file_name(options.output_directory, stem, 'status')
[all …]
Dpsa_collect_statuses.py82 def collect_status_logs(options): argument
89 if not options.use_existing_log and os.path.exists(options.log_file):
90 os.remove(options.log_file)
91 if not os.path.exists(options.log_file):
92 if options.clean_before:
106 data.collect_log(options.log_file)
107 data.get_constant_names(options.psa_constant_names)
108 if rebuilt and options.clean_after:
135 options = parser.parse_args()
136 data = collect_status_logs(options)
Dcheck_test_cases.py33 def __init__(self, options): argument
36 self.ignore_warnings = options.quiet
182 options = parser.parse_args()
183 results = Results(options)
186 if (results.warnings or results.errors) and not options.quiet:
Dtest_psa_constant_names.py391 def __init__(self, options): argument
392 self.options = options
404 include_path=self.options.include,
405 keep_c=self.options.keep_c)
406 output = subprocess.check_output([self.options.program, type_word] +
411 if self.options.show:
464 options = parser.parse_args()
465 headers = [os.path.join(options.include[0], h) for h in HEADERS]
467 tests = Tests(options)
Danalyze_outcomes.py121 options = parser.parse_args()
122 results = analyze_outcome_file(options.outcomes)
/openthread-2.7.6/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_client.c45 uint16_t options; in LLVMFuzzerTestOneInput() local
68 options = (Data[Size - 2] << 8) | Data[Size - 1]; in LLVMFuzzerTestOneInput()
70 (void) options; in LLVMFuzzerTestOneInput()
88 if (options & 2) { in LLVMFuzzerTestOneInput()
95 if (options & 4) { in LLVMFuzzerTestOneInput()
104 …mbedtls_ssl_conf_truncated_hmac( &conf, (options & 8) ? MBEDTLS_SSL_TRUNC_HMAC_ENABLED : MBEDTLS_S… in LLVMFuzzerTestOneInput()
107 …mbedtls_ssl_conf_extended_master_secret( &conf, (options & 0x10) ? MBEDTLS_SSL_EXTENDED_MS_DISABLE… in LLVMFuzzerTestOneInput()
110 …mbedtls_ssl_conf_encrypt_then_mac( &conf, (options & 0x20) ? MBEDTLS_SSL_ETM_DISABLED : MBEDTLS_SS… in LLVMFuzzerTestOneInput()
113 …mbedtls_ssl_conf_cbc_record_splitting( &conf, (options & 0x40) ? MBEDTLS_SSL_CBC_RECORD_SPLITTING_… in LLVMFuzzerTestOneInput()
116 …mbedtls_ssl_conf_renegotiation( &conf, (options & 0x80) ? MBEDTLS_SSL_RENEGOTIATION_ENABLED : MBED… in LLVMFuzzerTestOneInput()
[all …]
Dfuzz_server.c48 uint8_t options; in LLVMFuzzerTestOneInput() local
54 options = Data[Size - 1]; in LLVMFuzzerTestOneInput()
107 …mbedtls_ssl_conf_cert_req_ca_list( &conf, (options & 0x1) ? MBEDTLS_SSL_CERT_REQ_CA_LIST_ENABLED :… in LLVMFuzzerTestOneInput()
109 if (options & 0x2) { in LLVMFuzzerTestOneInput()
114 if( options & 0x4 ) in LLVMFuzzerTestOneInput()
129 …mbedtls_ssl_conf_truncated_hmac( &conf, (options & 0x8) ? MBEDTLS_SSL_TRUNC_HMAC_ENABLED : MBEDTLS… in LLVMFuzzerTestOneInput()
132 …mbedtls_ssl_conf_extended_master_secret( &conf, (options & 0x10) ? MBEDTLS_SSL_EXTENDED_MS_DISABLE… in LLVMFuzzerTestOneInput()
135 …mbedtls_ssl_conf_encrypt_then_mac( &conf, (options & 0x20) ? MBEDTLS_SSL_ETM_ENABLED : MBEDTLS_SSL… in LLVMFuzzerTestOneInput()
138 if (options & 0x40) { in LLVMFuzzerTestOneInput()
144 …mbedtls_ssl_conf_renegotiation( &conf, (options & 0x80) ? MBEDTLS_SSL_RENEGOTIATION_ENABLED : MBED… in LLVMFuzzerTestOneInput()
/openthread-2.7.6/script/
Dcmake-build144 local options=(
155 options+=("${OT_POSIX_SIM_COMMON_OPTIONS[@]}" "${local_options[@]}")
159 options+=("${OT_POSIX_SIM_COMMON_OPTIONS[@]}" "${local_options[@]}")
162options+=("-DCMAKE_TOOLCHAIN_FILE=examples/platforms/${platform}/arm-none-eabi.cmake" "-DCMAKE_BUI…
165 options+=("-DCMAKE_TOOLCHAIN_FILE=examples/platforms/${platform}/arm-none-eabi.cmake")
169 options+=("$@")
Dtest57 local options=(
74 options+=("-DOT_FULL_LOGS=ON")
78 options+=("-DOT_DUA=ON")
79 options+=("-DOT_MLR=ON")
83 options+=("-DOT_SIMULATION_VIRTUAL_TIME=ON")
87 options+=("-DOT_CSL_RECEIVER=ON")
88 options+=("-DOT_LINK_METRICS_INITIATOR=ON")
89 options+=("-DOT_LINK_METRICS_SUBJECT=ON")
93 options+=("${ot_extra_options[@]}")
104 options+=("-DOT_BACKBONE_ROUTER=ON")
[all …]
Dcheck-posix-build-cmake41 local options=("$@")
43 options+=(
49 options+=(
Dcheck-simulation-build-autotools41 local options=(
135 local options=(
163 options=(
185 options=(
209 local options=(
233 options=(
Dcheck-scan-build36 local options=(
86 options+=(
Dcheck-arm-build-cmake53 local options=(
Dcheck-arm-build-autotools39 local options=(
Dpackage40 local options=(
/openthread-2.7.6/third_party/mbedtls/repo/scripts/
Dassemble_changelog.py296 def list_merges(some_hash, target, *options): argument
302 '--merges', *options,
421 def list_files_to_merge(options): argument
426 files_to_merge = glob.glob(os.path.join(options.dir, '*.txt'))
430 def merge_entries(options): argument
438 with open(options.input, 'rb') as input_file:
440 files_to_merge = list_files_to_merge(options)
447 finish_output(changelog, options.output, options.input, files_to_merge)
448 if not options.keep_entries:
451 def show_file_timestamps(options): argument
[all …]
/openthread-2.7.6/tests/scripts/thread-cert/
Dcoap.py128 options = []
140 options.append(option)
142 return options
207 options, argument
216 self._options = options
245 def options(self): member in CoapMessage
257 options_str = ", ".join([repr(opt) for opt in self.options])
316 def options(self): member in CoapMessageProxy
317 return self._coap_message.options
336 options_str = ", ".join([repr(opt) for opt in self.options])
[all …]
Dtest_network_layer.py407 options = any_options()
409 nd_option = network_layer.NdOption(options)
412 actual_options = nd_option.options
415 self.assertEqual(options, actual_options)
419 options = any_options()
421 nd_option = network_layer.NdOption(options)
424 self.assertEqual(nd_option, network_layer.NdOption(options))
431 options = any_options()
435 data = bytearray(options)
442 self.assertEqual(options, nd_option.options)
Dnetwork_layer.py245 def __init__(self, options): argument
246 self._options = options
249 def options(self): member in NdOption
254 return self.options == other.options
257 return "NdOption(options=[{}])".format(", ".join([str(opt) for opt in self.options]))
263 options = [opt for opt in bytearray(data.read())]
264 return NdOption(options)
Dtest_coap.py426 options = any_options()
434 options,
439 actual_options = coap_message.options
442 self.assertEqual(options, actual_options)
574 self.assertEqual("a", coap_message.options[0].value.decode("utf-8"))
575 self.assertEqual("as", coap_message.options[1].value.decode("utf-8"))
Dipv6.py678 def __init__(self, next_header=None, options=None, hdr_ext_len=None): argument
680 self.options = options if options is not None else []
691 for option in self.options:
707 for option in self.options:
951 options = []
974 options.append(option)
976 return options
999 options = self._hop_by_hop_options_factory.parse(io.BytesIO(hop_by_hop_data), message_info)
1001 hop_by_hop = HopByHop(next_header, options, hdr_ext_len)
Dtest_ipv6.py525 HopByHop(options=[
606 self.assertEqual(1, ipv6_packet.extension_headers[0].options[0].value.S)
607 self.assertEqual(0, ipv6_packet.extension_headers[0].options[0].value.M)
608 self.assertEqual(0, ipv6_packet.extension_headers[0].options[0].value.V)
609 self.assertEqual(2, ipv6_packet.extension_headers[0].options[0].value.sequence)
610 …self.assertEqual(bytearray([0x00, 0x18]), ipv6_packet.extension_headers[0].options[0].value.seed_i…
995 self.assertEqual(hop_by_hop_option.value.S, hop_by_hop.options[0].value.S)
996 self.assertEqual(hop_by_hop_option.value.V, hop_by_hop.options[0].value.V)
997 self.assertEqual(hop_by_hop_option.value.M, hop_by_hop.options[0].value.M)
998 self.assertEqual(hop_by_hop_option.value.sequence, hop_by_hop.options[0].value.sequence)
[all …]
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.function1679 void perform_handshake( handshake_test_options* options )
1706 if( options->dtls != 0 )
1709 options->pk_alg, &client_context,
1721 options->pk_alg, NULL, NULL,
1725 if( options->client_min_version != TEST_SSL_MINOR_VERSION_NONE )
1728 options->client_min_version );
1731 if( options->client_max_version != TEST_SSL_MINOR_VERSION_NONE )
1734 options->client_max_version );
1737 if( strlen( options->cipher ) > 0 )
1739 set_ciphersuite( &client.conf, options->cipher, forced_ciphersuite );
[all …]
/openthread-2.7.6/third_party/mbedtls/repo/programs/
DREADME.md90 … HTTPS client that sends a fixed request and displays the response, with options to select TLS pro…
92 …`](ssl/ssl_server2.c): an HTTPS server that sends a fixed response, with options to select TLS pro…
94options for testing client-side features, the `ssl_client2` program has options that allow you to …
/openthread-2.7.6/third_party/mbedtls/repo/
DREADME.md11 Mbed TLS should build out of the box on most systems. Some platform specific options are available …
13 Compiler options can be set using conventional environment variables such as `CC` and `CFLAGS` when…
74 …ommand line; compiler warning options may be overridden separately using `WARNING_CFLAGS`. Some di…
76options to the default ones, you can do so by setting `CFLAGS=-O2 -Werror` for example. Setting `W…
78 …. Please check the Makefiles in `library/`, `programs/` and `tests/` for options to manually add o…
121 To list other available CMake options, use:
183 …integration tests for various TLS options (renegotiation, resumption, etc.) and tests interoperabi…
187 …uns a combination of the above tests, plus some more, with various build options (such as ASan, fu…

1234