Home
last modified time | relevance | path

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

12

/mbedtls-development/tests/scripts/
A Dtest_config_script.py83 def list_presets(options): argument
89 if options.presets:
115 input_file = options.input_file
125 cmd = [os.path.abspath(options.script),
150 def run_all(options): argument
152 presets = list_presets(options)
154 run_one(options, [preset])
156 run_one(options, ['get', symbol])
163 run_one(options, ['unset', symbol])
181 options = parser.parse_args()
[all …]
A 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)
A Dtest_psa_constant_names.py101 def __init__(self, options) -> None: argument
102 self.options = options
114 include_path=self.options.include,
115 keep_c=self.options.keep_c)
116 output_bytes = subprocess.check_output([self.options.program,
122 if self.options.show:
175 options = parser.parse_args()
176 headers = [os.path.join(options.include[0], h) for h in HEADERS]
178 tests = Tests(options)
A 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:
A Dgenerate_psa_tests.py705 def __init__(self, options) -> None: argument
711 def get_option(options, name: str, default: T) -> T: argument
712 value = getattr(options, name, None)
754 options = parser.parse_args(args)
756 generator = TestGenerator(options)
757 if options.list:
762 if options.list_for_cmake:
766 if options.targets:
771 for target in options.targets
774 options.targets = sorted(generator.TARGETS)
[all …]
A Danalyze_outcomes.py121 options = parser.parse_args()
122 results = analyze_outcome_file(options.outcomes)
/mbedtls-development/programs/fuzz/
A Dfuzz_client.c47 uint16_t options; in LLVMFuzzerTestOneInput() local
70 options = (Data[Size - 2] << 8) | Data[Size - 1]; in LLVMFuzzerTestOneInput()
72 (void) options; in LLVMFuzzerTestOneInput()
90 if (options & 2) { in LLVMFuzzerTestOneInput()
97 if (options & 4) { in LLVMFuzzerTestOneInput()
106 …mbedtls_ssl_conf_extended_master_secret( &conf, (options & 0x10) ? MBEDTLS_SSL_EXTENDED_MS_DISABLE… in LLVMFuzzerTestOneInput()
109 …mbedtls_ssl_conf_encrypt_then_mac( &conf, (options & 0x20) ? MBEDTLS_SSL_ETM_DISABLED : MBEDTLS_SS… in LLVMFuzzerTestOneInput()
112 …mbedtls_ssl_conf_renegotiation( &conf, (options & 0x80) ? MBEDTLS_SSL_RENEGOTIATION_ENABLED : MBED… in LLVMFuzzerTestOneInput()
115 …mbedtls_ssl_conf_session_tickets( &conf, (options & 0x100) ? MBEDTLS_SSL_SESSION_TICKETS_DISABLED … in LLVMFuzzerTestOneInput()
118 if (options & 0x200) { in LLVMFuzzerTestOneInput()
[all …]
A Dfuzz_server.c50 uint8_t options; in LLVMFuzzerTestOneInput() local
56 options = Data[Size - 1]; in LLVMFuzzerTestOneInput()
110 …mbedtls_ssl_conf_cert_req_ca_list( &conf, (options & 0x1) ? MBEDTLS_SSL_CERT_REQ_CA_LIST_ENABLED :… in LLVMFuzzerTestOneInput()
112 if (options & 0x2) { in LLVMFuzzerTestOneInput()
117 if( options & 0x4 ) 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()
A DREADME.md47 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-development/scripts/
A Dassemble_changelog.py441 def list_files_to_merge(options): argument
450 def merge_entries(options): argument
467 finish_output(changelog, options.output, options.input, files_to_merge)
468 if not options.keep_entries:
471 def show_file_timestamps(options): argument
481 def set_defaults(options): argument
485 options.output = options.input
515 options = parser.parse_args()
516 set_defaults(options)
517 if options.list_files_only:
[all …]
/mbedtls-development/tests/suites/
A Dtest_suite_ssl.function1790 if( options->psk_str != NULL && options->psk_str->len > 0 )
1887 if( options->cli_msg_len != 0 || options->srv_msg_len != 0 )
1949 if( options->cli_msg_len != 0 || options->srv_msg_len != 0 )
2033 if( options->cli_log_fun || options->srv_log_fun )
4462 options.dtls = dtls;
4506 options.mfl = mfl;
4550 options.dtls = 1;
4568 options.dtls = 1;
4569 options.mfl = mfl;
4601 options.dtls = 1;
[all …]
A Dtest_suite_pkcs1_v21.data759 RSASSA-PSS Signature verify options #1 (OK)
762 RSASSA-PSS Signature verify options #2 (ctx_hash none)
765 RSASSA-PSS Signature verify options #3 (ctx_hash diverging)
769 RSASSA-PSS Signature verify options #4 (mgf1_hash diverging)
773 RSASSA-PSS Signature verify options #5 (wrong msg_hash)
777 RSASSA-PSS Signature verify options #6 (wrong expected_salt_len)
780 RSASSA-PSS Signature verify options #7 (wrong expected_salt_len)
783 RSASSA-PSS Signature verify options #8 (non-default salt_len: max)
787 RSASSA-PSS Signature verify options #9 (non-default salt_len: 0)
791 RSASSA-PSS Signature verify options #10 (non-default salt_len: 0, ANY)
[all …]
A Dtest_suite_pk.data195 Verify ext RSA #8 (PKCS1 v2.1, RSASSA-PSS without options)
199 Verify ext RSA #9 (PKCS1 v1.5, RSA with options)
203 Verify ext RSA #10 (PKCS1 v1.5, RSA without options)
A Dtest_suite_pk.function211 void *options = NULL;
262 TEST_ASSERT( mbedtls_pk_verify_ext( MBEDTLS_PK_NONE, options,
438 void *options;
468 options = NULL;
472 options = &pss_opts;
478 TEST_ASSERT( mbedtls_pk_verify_ext( pk_type, options, &pk,
/mbedtls-development/programs/
A DREADME.md85 … 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…
89options for testing client-side features, the `ssl_client2` program has options that allow you to …
/mbedtls-development/.github/ISSUE_TEMPLATE/
A Dbug_report.md19 Compiler and options (if you used a pre-built binary, please indicate how you obtained it):
/mbedtls-development/library/
A Dpk.c334 int mbedtls_pk_verify_ext( mbedtls_pk_type_t type, const void *options, in mbedtls_pk_verify_ext() argument
361 if( options == NULL ) in mbedtls_pk_verify_ext()
364 pss_opts = (const mbedtls_pk_rsassa_pss_options *) options; in mbedtls_pk_verify_ext()
387 if( options != NULL ) in mbedtls_pk_verify_ext()
/mbedtls-development/
A 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…
99 …ommand line; compiler warning options may be overridden separately using `WARNING_CFLAGS`. Some di…
101options to the default ones, you can do so by setting `CFLAGS=-O2 -Werror` for example. Setting `W…
103 …. Please check the Makefiles in `library/`, `programs/` and `tests/` for options to manually add o…
146 To list other available CMake options, use:
237 …integration tests for various TLS options (renegotiation, resumption, etc.) and tests interoperabi…
241 …uns a combination of the above tests, plus some more, with various build options (such as ASan, fu…
/mbedtls-development/programs/x509/
A Dcrl_app.c64 struct options struct
A Dreq_app.c64 struct options struct
A Dload_roots.c95 struct options struct
/mbedtls-development/tests/
A DDescriptions.txt20 The 'tests/ssl-opt.sh' script checks various options and/or operations not
/mbedtls-development/docs/architecture/
A Dalternative-implementations.md12 …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-development/docs/architecture/testing/
A Dinvasive-testing.md36 …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-development/programs/util/
A Dpem2der.c66 struct options struct

Completed in 42 milliseconds

12