Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 112) sorted by relevance

12345

/mbedtls/
A DMakefile23 all: programs tests
34 tests: lib mbedtls_test target
35 $(MAKE) -C tests
44 tests/%:
45 $(MAKE) -C tests $*
152 $(MAKE) -C tests clean
162 $(MAKE) -C tests neat
170 check: lib tests
171 $(MAKE) -C tests check
201 tests/include/*/*.h tests/include/*/*/*.h \
[all …]
A DCONTRIBUTING.md11 - [Tests](#tests): please ensure the PR includes adequate tests.
17tests, as mentioned in the [Tests](#tests) and [Continuous Integration](#continuous-integration-te…
58 As mentioned, tests that show the correctness of the feature or bug fix should be added to the pull…
60 Mbed TLS includes a comprehensive set of test suites in the `tests/` directory that are dynamically…
62 [A Knowledge Base article describing how to add additional tests is available on the Mbed TLS websi…
64 A test script `tests/scripts/basic-build-test.sh` is available to show test coverage of the library…
70 …n made, the Continuous Integration (CI) tests are triggered and run. You should follow the result …
72 …e [githooks scripts](https://github.com/Mbed-TLS/mbedtls/tree/development/tests/git-scripts) prior…
A DREADME.md52 * Perl to run the tests, and to generate some source files in the development branch.
95 In order to run the tests, enter:
99 The tests need Python to be built and Perl to be run. If you don't have one of them installed, you …
103 You'll still be able to run a much smaller set of tests with:
125 In order to run the tests, enter:
133 …the test suites, but kept the programs enabled, you can still run a much smaller set of tests with:
247 - `tests/ssl-opt.sh` runs integration tests for various TLS options (renegotiation, resumption, e…
248 - `tests/compat.sh` tests interoperability of every ciphersuite with other implementations.
249 - `tests/scripts/test-ref-configs.pl` test builds in various reduced configurations.
250 - `tests/scripts/depends.py` test builds in configurations with a single curve, key exchange, has…
[all …]
A DCMakeLists.txt83 option(ENABLE_TESTING "Build Mbed TLS tests." OFF)
85 option(ENABLE_TESTING "Build Mbed TLS tests." ON)
310 # target. This library of objects is used by tests and programs CMake files
315 ${CMAKE_CURRENT_SOURCE_DIR}/tests/src/*.c
316 ${CMAKE_CURRENT_SOURCE_DIR}/tests/src/drivers/*.c)
319 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tests/include
322 # Request C11, needed for memory poisoning tests
326 ${CMAKE_CURRENT_SOURCE_DIR}/tests/src/test_helpers/*.c)
329 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tests/include
360 add_subdirectory(tests)
[all …]
/mbedtls/tests/scripts/
A Dall.sh1175 tests/ssl-opt.sh
1178 tests/compat.sh
1197 tests/ssl-opt.sh
1200 tests/compat.sh
1219 tests/ssl-opt.sh
1222 tests/compat.sh
1243 tests/ssl-opt.sh
1246 tests/compat.sh
1395 tests/ssl-opt.sh
1411 tests/ssl-opt.sh
[all …]
A Dbasic-in-docker.sh23 source tests/scripts/docker_env.sh
25 run_in_docker tests/scripts/all.sh 'check_*'
32 run_in_docker -e OSSL_NO_DTLS=1 tests/compat.sh
33 run_in_docker tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'
34 run_in_docker tests/scripts/test-ref-configs.pl
35 run_in_docker tests/scripts/depends.py curves
36 run_in_docker tests/scripts/depends.py kex
A Dcheck-generated-files.sh151 check tests/scripts/generate_psa_wrappers.py tests/include/test/psa_test_wrappers.h tests/src/psa_t…
A Dgenerate_pkcs7_tests.py53 tests = []
63 tests.append(Test(lines[i], lines[i+1], lines[i+2]))
66 tests.append(Test(lines[i], None, lines[i+1]))
68 latest_test_num = float(tests[-1].name.split('#')[1])
69 return latest_test_num, tests
A Dbasic-build-test.sh33 if [ -d library -a -d include -a -d tests ]; then :; else
82 cd tests
125 } | tee tests/cov-$TEST_OUTPUT
146 cd tests
A Dall-in-docker.sh22 source tests/scripts/docker_env.sh
25 run_in_docker tests/scripts/all.sh \
A Dtest_psa_constant_names.py184 tests = Tests(options)
185 tests.run_all(inputs)
186 tests.report(sys.stdout)
187 if tests.errors:
A Dgenerate-afl-tests.sh29 if [ -d ../library -a -d ../include -a -d ../tests -a $THIS_DIR == "tests" ];
36 DEST_TESTCASE_DIR=$TESTSUITE-afl-tests
A Dcheck-python-files.sh58 $PYTHON -m pylint scripts/mbedtls_dev/*.py scripts/*.py tests/scripts/*.py || {
65 $PYTHON -m mypy scripts/*.py tests/scripts/*.py ||
/mbedtls/tests/
A DCMakeLists.txt7 # the tests folder is included directly by a parent project, without including
24 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_bignum_tests.py
36 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_ecp_tests.py
48 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_psa_tests.py
102 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_ecp_tests.py
105 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_ecp_tests.py
118 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_psa_tests.py
121 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_psa_tests.py
165 # Get the test names of the tests with generated .data files
249 # files (used by some invasive tests) from ../library. Public header
[all …]
A DDescriptions.txt2 The various 'test_suite_XXX' programs from the 'tests' directory, executed
13 The 'tests/compat.sh' script checks interoperability with OpenSSL and
20 The 'tests/ssl-opt.sh' script checks various options and/or operations not
A Dcompat-in-docker.sh27 source tests/scripts/docker_env.sh
54 tests/compat.sh \
A Dssl-opt-in-docker.sh27 source tests/scripts/docker_env.sh
54 tests/ssl-opt.sh \
/mbedtls/docs/architecture/
A Dpsa-crypto-implementation-structure.md81 * [ ] `include/psa/crypto_config.h`, `tests/include/test/drivers/crypto_config_test_driver_extensio…
86 * [ ] `tests/suites/test_suite_psa_crypto_metadata.data` — [New functions and macros](#new-function…
87 * (If adding `PSA_IS_xxx`) `tests/suites/test_suite_psa_crypto_metadata.function` — [New functions …
88 * [ ] `tests/suites/test_suite_psa_crypto*.data`, `tests/suites/test_suite_psa_crypto*.function` — …
89 …_dev/crypto_knowledge.py`, `scripts/mbedtls_dev/asymmetric_key_data.py` — [Unit tests](#unit-tests)
97tests/suites/test_suite_psa_crypto.data`, `tests/suites/test_suite_psa_crypto.function`, `tests/su…
121tests/suites/test_suite_psa_crypto_metadata.data` that verifies that `PSA_IS_xxx` macros behave pr…
154 ### Unit tests
156 A number of unit tests are automatically generated by `tests/scripts/generate_psa_tests.py` based o…
169 * Known answer tests.
[all …]
/mbedtls/docs/architecture/testing/
A Dtest-framework.md7 ## Unit tests
25 `tests/scripts/check_test_cases.py` enforces some rules and warns if some guidelines are violated.
27 ## TLS tests
29 ### SSL extension tests argument
37 ### SSL cipher suite tests argument
43 ## Running tests
49 Unit tests, `ssl-opt.sh` and `compat.sh` record the outcome of each test case in a **test outcome f…
A Dinvasive-testing.md88 * Portability: tests should work on every platform. Skipping tests on certain platforms may hide er…
102 * Files in storage (PSA API only — in the Mbed TLS API, black-box unit tests are sufficient).
151 | Coverage | ~ Many useful tests are not reasonably achievable |
166 | Coverage | ~ Many useful tests are not reasonably achievable |
184 | Coverage | ~ Many useful tests require additional internal interfaces |
186 | | ~ The tests may call internal functions in a way that does not reflect actual usage…
188 | Portability | + Fine as long as we control how the tests are linked |
190 | Maintainability | + Tests interfaces that are documented; dependencies in the tests are easily no…
278 Solution ([debugger](#debugger-based-testing)): implemented in `tests/scripts/test_zeroize.gdb`.
300 Note there must also be tests that call `mbedtls_psa_crypto_free` with keys still open, to verify t…
[all …]
/mbedtls/scripts/
A Dmake_generated_files.bat13 python tests\scripts\generate_bignum_tests.py || exit /b 1
14 python tests\scripts\generate_ecp_tests.py || exit /b 1
15 python tests\scripts\generate_psa_tests.py || exit /b 1
A Dtmp_ignore_makefiles.sh43 git update-index --assume-unchanged Makefile library/Makefile programs/Makefile tests/Makefile
46 git update-index --no-assume-unchanged Makefile library/Makefile programs/Makefile tests/Makefile
/mbedtls/tests/git-scripts/
A DREADME.md7 …<Mbed TLS root>/tests/git-scripts` directory, and one must create a soft link from `<Mbed TLS root…
12 `ln -s ../../tests/git-scripts/pre-push.sh pre-push`
/mbedtls/docs/architecture/psa-migration/
A Doutcome-analysis.sh42 tests/ssl-opt.sh
81 data_files=$(cd tests/suites && echo *.data)
90 extra_files=$(cd tests/opt-testcases && echo *.sh)
A Dtesting.md12 `MBEDTLS_USE_PSA_CRYPTO` and runs the full battery of tests; currently that's
53 new API to be used, and one or more tests in `ssl-opt.sh` using that.
78 - usually already covered by existing tests for higher-level modules:
80 covered by running the existing TLS tests in a build with
94 be already be covered by running the existing tests in a build with
99 whether to use the PSA or legacy code paths, specific tests might be in order.

Completed in 45 milliseconds

12345