/mbedtls-latest/tests/scripts/ |
D | depends.py | 71 def __init__(self, options=None): argument 73 if not options or options.color in ['no', 'never']: 75 elif options.color in ['yes', 'always']: 102 def backup_config(options): argument 106 if os.path.exists(options.config_backup): 107 options.own_backup = False 109 options.own_backup = True 110 shutil.copy(options.config, options.config_backup) 112 def restore_config(options): argument 115 if options.own_backup: [all …]
|
D | test_config_script.py | 72 def list_presets(options): argument 78 if options.presets: 79 return re.split(r'[ ,]+', options.presets) 81 help_text = subprocess.run([options.script, '--help'], 87 def run_one(options, args, stem_prefix='', input_file=None): argument 104 input_file = options.input_file 106 data_filename = output_file_name(options.output_directory, stem, 'h') 107 stdout_filename = output_file_name(options.output_directory, stem, 'out') 108 stderr_filename = output_file_name(options.output_directory, stem, 'err') 109 status_filename = output_file_name(options.output_directory, stem, 'status') [all …]
|
D | psa_collect_statuses.py | 70 def collect_status_logs(options): argument 77 if not options.use_existing_log and os.path.exists(options.log_file): 78 os.remove(options.log_file) 79 if not os.path.exists(options.log_file): 80 if options.clean_before: 94 data.collect_log(options.log_file) 95 data.get_constant_names(options.psa_constant_names) 96 if rebuilt and options.clean_after: 123 options = parser.parse_args() 124 data = collect_status_logs(options)
|
D | test_psa_constant_names.py | 107 def __init__(self, options) -> None: argument 108 self.options = options 120 include_path=self.options.include, 121 keep_c=self.options.keep_c) 122 output_bytes = subprocess.check_output([self.options.program, 128 if self.options.show: 181 options = parser.parse_args() 182 headers = [os.path.join(options.include[0], h) for h in HEADERS] 184 tests = Tests(options)
|
D | check_test_cases.py | 40 def __init__(self, options): argument 43 self.ignore_warnings = options.quiet 222 options = parser.parse_args() 223 if options.list_all: 227 results = Results(options) 235 if (results.warnings or results.errors) and not options.quiet:
|
D | analyze_outcomes.py | 741 options = parser.parse_args() 743 if options.list: 748 if options.specified_tasks == 'all': 751 tasks_list = re.split(r'[, ]+', options.specified_tasks) 757 KNOWN_TASKS['analyze_coverage']['args']['full_coverage'] = options.full_coverage 762 if not os.path.exists(options.outcomes): 776 options.outcomes) 778 outcomes = read_outcome_file(options.outcomes)
|
D | run_demos.py | 58 options = parser.parse_args() 59 success = run_all_demos(quiet=options.quiet)
|
D | all.sh | 270 Special options: 275 General options: 308 Tool path options:
|
/mbedtls-latest/tests/src/test_helpers/ |
D | ssl_helpers.c | 737 mbedtls_test_handshake_test_options *options, in mbedtls_test_ssl_endpoint_init() argument 803 if (options->client_min_version != MBEDTLS_SSL_VERSION_UNKNOWN) { in mbedtls_test_ssl_endpoint_init() 805 options->client_min_version); in mbedtls_test_ssl_endpoint_init() 808 if (options->client_max_version != MBEDTLS_SSL_VERSION_UNKNOWN) { in mbedtls_test_ssl_endpoint_init() 810 options->client_max_version); in mbedtls_test_ssl_endpoint_init() 813 if (options->server_min_version != MBEDTLS_SSL_VERSION_UNKNOWN) { in mbedtls_test_ssl_endpoint_init() 815 options->server_min_version); in mbedtls_test_ssl_endpoint_init() 818 if (options->server_max_version != MBEDTLS_SSL_VERSION_UNKNOWN) { in mbedtls_test_ssl_endpoint_init() 820 options->server_max_version); in mbedtls_test_ssl_endpoint_init() 824 if (options->group_list != NULL) { in mbedtls_test_ssl_endpoint_init() [all …]
|
/mbedtls-latest/scripts/ |
D | assemble_changelog.py | 312 def list_merges(some_hash, target, *options): argument 318 '--merges', *options, 438 def list_files_to_merge(options): argument 445 files_to_merge = glob.glob(os.path.join(options.dir, '*')) 448 readme = os.path.join(options.dir, "00README.md") 460 def merge_entries(options): argument 469 with open(options.input, 'r', encoding='utf-8') as input_file: 471 files_to_merge = list_files_to_merge(options) 478 finish_output(changelog, options.output, options.input, files_to_merge) 479 if not options.keep_entries: [all …]
|
D | min_requirements.py | 116 options = parser.parse_args() 117 if not options.files: 118 options.files = [os.path.join(os.path.dirname(__file__), 121 for filename in options.files: 124 if not options.no_act: 125 reqs.install(pip_general_options=options.pip_general_options, 126 pip_install_options=options.pip_install_options)
|
/mbedtls-latest/programs/fuzz/ |
D | fuzz_client.c | 46 uint16_t options; in LLVMFuzzerTestOneInput() local 70 options = (Data[Size - 2] << 8) | Data[Size - 1]; in LLVMFuzzerTestOneInput() 72 (void) options; in LLVMFuzzerTestOneInput() 99 if (options & 2) { in LLVMFuzzerTestOneInput() 106 if (options & 4) { in LLVMFuzzerTestOneInput() 116 (options & in LLVMFuzzerTestOneInput() 121 (options & in LLVMFuzzerTestOneInput() 126 (options & in LLVMFuzzerTestOneInput() 131 (options & in LLVMFuzzerTestOneInput() 135 if (options & 0x200) { in LLVMFuzzerTestOneInput() [all …]
|
D | fuzz_server.c | 49 uint8_t options; in LLVMFuzzerTestOneInput() local 55 options = Data[Size - 1]; in LLVMFuzzerTestOneInput() 125 (options & in LLVMFuzzerTestOneInput() 128 if (options & 0x2) { in LLVMFuzzerTestOneInput() 133 if (options & 0x4) { in LLVMFuzzerTestOneInput() 149 (options & in LLVMFuzzerTestOneInput() 154 (options & in LLVMFuzzerTestOneInput() 158 if (options & 0x40) { in LLVMFuzzerTestOneInput() 165 (options & in LLVMFuzzerTestOneInput()
|
D | README.md | 47 They also use the last bytes as configuration options. 54 * Finally, you can add the options by appending the last bytes to the file test.cor
|
/mbedtls-latest/tests/suites/ |
D | test_suite_ssl.function | 2504 mbedtls_test_handshake_test_options options; 2505 mbedtls_test_init_handshake_options(&options); 2506 options.pk_alg = MBEDTLS_PK_RSA; 2510 ret = mbedtls_test_ssl_endpoint_init(NULL, endpoint_type, &options, 2514 ret = mbedtls_test_ssl_endpoint_certificate_init(NULL, options.pk_alg, 2518 ret = mbedtls_test_ssl_endpoint_init(&ep, endpoint_type, &options, 2524 mbedtls_test_free_handshake_options(&options); 2537 mbedtls_test_handshake_test_options options; 2538 mbedtls_test_init_handshake_options(&options); 2540 options.pk_alg = MBEDTLS_PK_RSA; [all …]
|
D | test_suite_pkcs1_v21.data | 1005 RSASSA-PSS Signature verify options #1 (OK) 1009 RSASSA-PSS Signature verify options #2 (ctx_hash none) 1013 RSASSA-PSS Signature verify options #3 (ctx_hash diverging) 1017 RSASSA-PSS Signature verify options #4 (mgf1_hash diverging) 1021 RSASSA-PSS Signature verify options #5 (wrong msg_hash) 1025 RSASSA-PSS Signature verify options #6 (wrong expected_salt_len) 1029 RSASSA-PSS Signature verify options #7 (wrong expected_salt_len) 1033 RSASSA-PSS Signature verify options #8 (non-default salt_len: max) 1037 RSASSA-PSS Signature verify options #9 (non-default salt_len: 0) 1041 RSASSA-PSS Signature verify options #10 (non-default salt_len: 0, ANY) [all …]
|
D | test_suite_config.psa_combinations.data | 1 # Interesting combinations of PSA options
|
D | test_suite_config.tls_combinations.data | 1 # Interesting combinations of TLS options
|
D | test_suite_config.crypto_combinations.data | 1 # Interesting combinations of low-level crypto options
|
/mbedtls-latest/programs/ |
D | README.md | 85 … HTTPS client that sends a fixed request and displays the response, with options to select TLS pro… 87 …`](ssl/ssl_server2.c): an HTTPS server that sends a fixed response, with options to select TLS pro… 89 …options for testing client-side features, the `ssl_client2` program has options that allow you to …
|
/mbedtls-latest/ |
D | README.md | 11 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… 109 …ommand line; compiler warning options may be overridden separately using `WARNING_CFLAGS`. Some di… 111 …options to the default ones, you can do so by setting `CFLAGS=-O2 -Werror` for example. Setting `W… 113 …. Please check the Makefiles in `library/`, `programs/` and `tests/` for options to manually add o… 156 To list other available CMake options, use: 247 …integration tests for various TLS options (renegotiation, resumption, etc.) and tests interoperabi… 251 …uns a combination of the above tests, plus some more, with various build options (such as ASan, fu… 306 When using drivers, you will generally want to enable two compilation options (see the reference ma…
|
/mbedtls-latest/docs/architecture/ |
D | tls13-support.md | 86 - Compatibility with existing SSL/TLS build options: 89 configuration options in the sense that when enabling TLS 1.3 in the library 92 MBEDTLS_PSA_CRYPTO_C and MBEDTLS_SSL_KEEP_PEER_CERTIFICATE, so these options 95 Most of the Mbed TLS SSL/TLS related options are not supported or not 132 (1) These options must remain in their default state of enabled. 133 (2) See the TLS 1.3 specific build options section below. 135 - TLS 1.3 specific build options:
|
D | alternative-implementations.md | 12 …he C standard library through `MBEDTLS_PLATFORM_XXX` options in the configuration file. Many optio… 20 To configure entropy sources (hardware random generators), see the `MBEDTLS_ENTROPY_XXX` options in… 91 …_PLATFORM_MEMORY`. Consult the documentation of individual configuration options and of the platfo…
|
/mbedtls-latest/docs/architecture/testing/ |
D | invasive-testing.md | 36 …d on `MBEDTLS_TEST_HOOKS` (see [“rules for compile-time options”](#rules-for-compile-time-options)… 53 ### Rules for compile-time options 55 …e following rules. For more information, see the [rationale](#guidelines-for-compile-time-options). 207 ### Compile-time options 221 #### Guidelines for compile-time options argument 223 * **Minimize the number of compile-time options.**<br> 224 …Either we're testing or we're not. Fine-grained options for testing would require more test builds… 358 Solution ([compile-time option](#compile-time-options)): replace entropy initialization functions b…
|
/mbedtls-latest/tests/include/test/ |
D | ssl_helpers.h | 457 mbedtls_test_handshake_test_options *options, 589 mbedtls_test_handshake_test_options *options);
|