Home
last modified time | relevance | path

Searched full:tests (Results 1 – 25 of 65) sorted by relevance

123

/mcuboot-latest/
D.travis.yml-disabled1 # Travis configuration. Run FI hardening tests.
12 env: BUILD_TYPE=RELEASE SKIP_SIZE=2,4,6,8,10 TEST=fih-tests DAMAGE_TYPE=SIGNATURE
16 … env: BUILD_TYPE=RELEASE SKIP_SIZE=2,4,6,8,10 FIH_LEVEL=LOW TEST=fih-tests DAMAGE_TYPE=SIGNATURE
20 … env: BUILD_TYPE=RELEASE SKIP_SIZE=2,4,6,8,10 FIH_LEVEL=MEDIUM TEST=fih-tests DAMAGE_TYPE=SIGNATURE
24 env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=2,4,6 TEST=fih-tests DAMAGE_TYPE=SIGNATURE
28 env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=2,4,6 FIH_LEVEL=LOW TEST=fih-tests DAMAGE_TYPE=SIGNATURE
32 … env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=2,4,6 FIH_LEVEL=MEDIUM TEST=fih-tests DAMAGE_TYPE=SIGNATURE
36 env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=8,10 TEST=fih-tests DAMAGE_TYPE=SIGNATURE
40 env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=8,10 FIH_LEVEL=LOW TEST=fih-tests DAMAGE_TYPE=SIGNATURE
44 … env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=8,10 FIH_LEVEL=MEDIUM TEST=fih-tests DAMAGE_TYPE=SIGNATURE
[all …]
/mcuboot-latest/scripts/tests/
Dconftest.py17 # List of tests expected to fail for some reason
19 "tests/test_keys.py::test_getpriv[openssl-ed25519]",
20 "tests/test_keys.py::test_getpriv[openssl-x25519]",
21 "tests/test_keys.py::test_getpriv[pkcs8-rsa-2048]",
22 "tests/test_keys.py::test_getpriv[pkcs8-rsa-3072]",
23 "tests/test_keys.py::test_getpriv[pkcs8-ed25519]",
24 "tests/test_keys.py::test_getpub[pem-ed25519]",
25 "tests/test_keys.py::test_sign_verify[x25519]",
/mcuboot-latest/samples/zephyr/mcutests/
Dmcutests.go4 // The main driver of this consists of a series of tests. Each test
6 var Tests = []struct { var
9 Tests []OneTest
14 Tests: []OneTest{
47 Tests: []OneTest{
80 Tests: []OneTest{
113 Tests: []OneTest{
146 Tests: []OneTest{
179 Tests: []OneTest{
212 Tests: []OneTest{
[all …]
/mcuboot-latest/ext/tinycrypt/tests/
Dtest_cbc_mode.c1 /* test_cbc_mode.c - TinyCrypt implementation of some AES-CBC tests */
34 * This module tests the following AES-CBC Mode routines:
37 * - AES128 CBC mode encryption SP 800-38a tests
118 TC_PRINT("CBC test #1 (encryption SP 800-38a tests):\n"); in test_1_and_2()
121 TC_ERROR("CBC test #1 (encryption SP 800-38a tests) failed in " in test_1_and_2()
131 TC_PRINT("CBC test #2 (decryption SP 800-38a tests):\n"); in test_1_and_2()
139 TC_ERROR("CBC test #2 (decryption SP 800-38a tests) failed in. " in test_1_and_2()
160 TC_START("Performing AES128 tests:"); in main()
162 TC_PRINT("Performing CBC tests:\n"); in main()
170 TC_PRINT("All CBC tests succeeded!\n"); in main()
Dtest_ctr_mode.c1 /* test_ctr_mode.c - TinyCrypt implementation of some AES-CTR tests */
35 This module tests the following AES-CTR Mode routines:
38 - AES128 CTR mode encryption SP 800-38a tests
86 TC_PRINT("CTR test #1 (encryption SP 800-38a tests):\n"); in test_1_and_2()
92 TC_ERROR("CTR test #1 (encryption SP 800-38a tests) failed in %s.\n", __func__); in test_1_and_2()
105 TC_PRINT("CTR test #2 (decryption SP 800-38a tests):\n"); in test_1_and_2()
110 TC_ERROR("CTR test #2 (decryption SP 800-38a tests) failed in %s.\n", __func__); in test_1_and_2()
136 TC_START("Performing AES128-CTR mode tests:"); in main()
138 TC_PRINT("Performing CTR tests:\n"); in main()
145 TC_PRINT("All CTR tests succeeded!\n"); in main()
Dtest_ecc_dh.c1 /* test_ecc_dh.c - TinyCrypt implementation of some EC-DH tests */
55 * test_ecc_ecdh.c -- Implementation of some EC-DH tests
72 int tests, int verbose) in ecdh_vectors() argument
85 for (int i = 0; i < tests; i++) { in ecdh_vectors()
306 /* Test ecc_make_keys, and also as keygen part of other tests */
307 int pkv_vectors(char **qx_vec, char **qy_vec, char **res_vec, int tests, in pkv_vectors() argument
319 for (int i = 0; i < tests; i++) { in pkv_vectors()
484 TC_START("Performing ECC-DH tests:"); in main()
516 TC_PRINT("All EC-DH tests succeeded!\n"); in main()
Dtest_hmac_prng.c1 /* test_hmac_prng.c - TinyCrypt implementation of some HMAC-PRNG tests */
35 This module tests the following PRNG routines:
84 TC_START("Performing HMAC-PRNG tests:"); in main()
130 TC_PRINT("All HMAC tests succeeded!\n"); in main()
Dtest_ctr_prng.c1 /* test_ctr_prng.c - TinyCrypt implementation of some CTR-PRNG tests */
31 This module tests the CTR-PRNG routines
403 TC_ERROR("CTR PRNG reseed tests failed\n"); in test_reseed()
421 TC_ERROR("CTR PRNG uninstantiate tests failed\n"); in test_uninstantiate()
429 TC_ERROR("CTR PRNG uninstantiate tests failed\n"); in test_uninstantiate()
436 TC_ERROR("CTR PRNG uninstantiate tests failed\n"); in test_uninstantiate()
525 TC_ERROR("CTR PRNG reseed tests failed\n"); in test_robustness()
539 TC_START("Performing CTR-PRNG tests:"); in main()
559 TC_PRINT("All CTR PRNG tests succeeded!\n"); in main()
Dtest_ecc_dsa.c1 /* test_ecc_ecdsa.c - TinyCrypt implementation of some EC-DSA tests */
55 * test_ecc_ecdsa.c -- Implementation of some EC-DSA tests
78 char **s_vec, int tests, bool verbose) in sign_vectors() argument
97 for (int i = 0; i < tests; i++) { in sign_vectors()
344 char **r_vec, char **s_vec, char **res_vec, int tests, bool verbose) in vrfy_vectors() argument
363 for (int i = 0; i < tests; i++) { in vrfy_vectors()
639 TC_START("Performing ECC-DSA tests:"); in main()
664 TC_PRINT("\nAll ECC-DSA tests succeeded.\n"); in main()
Dtest_ecc_utils.c1 /* test_ecc_utils.c - TinyCrypt common functions for ECC tests */
55 * test_ecc_utils.c -- Implementation of some common functions for ECC tests.
221 /* Test ecc_make_keys, and also as keygen part of other tests */
222 int keygen_vectors(char **d_vec, char **qx_vec, char **qy_vec, int tests, in keygen_vectors() argument
235 for (int i = 0; i < tests; i++) { in keygen_vectors()
Dtest_cmac_mode.c1 /* test_cmac_mode.c - TinyCrypt AES-CMAC tests (including SP 800-38B tests) */
34 * This module tests the following AES-CMAC test (including SP 800-38B):
252 * effects: returns 1 if all tests pass
269 TC_START("Performing CMAC tests:"); in main()
307 TC_PRINT("All CMAC tests succeeded!\n"); in main()
/mcuboot-latest/sim/
DREADME.rst32 The tests are written as unit tests in Rust, and can be built and run
39 tests.
57 It is also possible to run specific tests, for example::
/mcuboot-latest/ext/tinycrypt/
DREADME54 /tests: Test vectors of the cryptographic primitives.
64 - ENABLE_TESTS for enabling (true) or disabling (false) tests compilation.
66 3) In tests/Makefile select the corresponding tests of the selected primitives.
68 5) run tests in tests/
DMakefile6 # See lib/Makefile and tests/Makefile for further configuration.
14 $(MAKE) -C tests
19 $(MAKE) -C tests clean
/mcuboot-latest/sim/src/
Dtestlog.rs8 //! https://stackoverflow.com/questions/30177845/how-to-initialize-the-logger-for-integration-tests
10 //! The test framework runs the tests, possibly simultaneously, and in various orders. This helper
12 //! the tests.
/mcuboot-latest/.github/workflows/
Dzephyr_build.yaml82 - name: Run Twister tests
87 -T ./tests/subsys/dfu
96 - name: Upload Tests Results
100 name: Tests Results
/mcuboot-latest/docs/
Dtestplan-zephyr.md9 Note that the script "run-tests.sh" in that directory is helpful for
15 The tests are build using the various `test-*` targets in
66 This step doesn't make sense on the tests where the upgrade doesn't
/mcuboot-latest/ci/fih_test_docker/
Dutils.py19 'TOTAL': 'Total tests run',
20 'SUCCESS': 'Tests executed successfully',
21 'FAILED': 'Tests failed to execute successfully',
/mcuboot-latest/samples/zephyr/hello-world/
Dsample.yaml7 tests:
10 tags: samples tests
/mcuboot-latest/ext/tinycrypt/tests/include/
Dtest_ecc_utils.h1 /* test_ecc_utils.h - TinyCrypt interface to common functions for ECC tests */
55 * test_ecc_utils.h -- Interface to common functions for ECC tests.
89 /* Test ecc_make_keys, and also as keygen part of other tests */
90 int keygen_vectors(char **d_vec, char **qx_vec, char **qy_vec, int tests, bool verbose);
/mcuboot-latest/samples/zephyr/
Drun-tests.go8 // go run run-tests.go [flags]
43 var logOut = flag.String("logout", "tests.log", "Log file to write to")
45 var preBuilt = flag.String("prebuilt", "", "Name of file with prebuilt tests")
80 for _, group := range mcutests.Tests {
85 for _, test := range group.Tests {
87 // No prebuilt, build the tests
Dtest-compile.go3 // Build all of the tests.
24 var outFile = flag.String("out", "test-images.zip", "Name of zip file to put built tests into")
42 for _, group := range mcutests.Tests {
/mcuboot-latest/ci/
Dfih-tests_run.sh25 source lib/ext/tf-m-tests/version.txt &&\
27 git clone https://git.trustedfirmware.org/TF-M/tf-m-tests.git &&\
28 pushd tf-m-tests &&\
/mcuboot-latest/ext/mbedtls-asn1/include/
Dcommon.h28 /** Helper to define a function as static except when building invasive tests.
32 * but that function has unit tests, define it with
/mcuboot-latest/ptest/src/
Dmain.rs97 #[command(about = "Run MCUboot CI tests stand alone")]
103 /// The tests to run (defaults to all)
113 /// Runs the tests.
115 /// List available tests.
271 /// Replace this matrix with one that only has the chosen tests in it. Note
371 /// Query if we should be logging all tests and not only failures.

123