Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 157) sorted by relevance

1234567

/mbedtls/tests/suites/
A Dtest_suite_cipher.ccm.data1 AES-128-CCM test vector NIST #1 (P=0, N=7, A=0, T=4)
385 Camellia-CCM test vector RFC 5528 #1
389 Camellia-CCM test vector RFC 5528 #2
393 Camellia-CCM test vector RFC 5528 #3
397 Camellia-CCM test vector RFC 5528 #4
401 Camellia-CCM test vector RFC 5528 #5
405 Camellia-CCM test vector RFC 5528 #6
409 Camellia-CCM test vector RFC 5528 #7
413 Camellia-CCM test vector RFC 5528 #8
417 Camellia-CCM test vector RFC 5528 #9
[all …]
A Dtest_suite_gcm.camellia.data1 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #1 (128-en)
5 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #2 (128-en)
9 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #3 (128-en)
13 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #4 (128-en)
17 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #5 (128-en)
21 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #6 (128-en)
25 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #7 (192-en)
29 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #8 (192-en)
33 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #9 (192-en)
37 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #10 (192-en)
[all …]
A Dtest_suite_lmots.data1 LMOTS sign-verify test #1
6 LMOTS sign-verify test #2
16 LMOTS hsslms interop test #1
21 # This test uses the same OTS key as the LMS hsslms interop test 1 (leaf 0 of
46 # This test uses the same OTS key as the LMS hsslms interop test 2 (leaf 1 of
90 # This test uses the valid signature from hsslms interop test 1, and then
96 # This test uses the valid signature from hsslms interop test 1, and then
102 # This test uses the valid signature from hsslms interop test 1, and then
130 # This test uses the valid public key for hsslms interop test 1, alters the
135 # This test uses the valid public key for hsslms interop test 1, alters the
[all …]
A Dtest_suite_psa_crypto_se_driver_hal_mocks.data1 SE init mock test: success
4 SE init mock test: failure
7 SE init mock test: invalid location (0)
13 SE key importing mock test
16 SE key importing mock test: max key bits
28 SE key exporting mock test
34 SE public key exporting mock test
40 SE key generating mock test
49 SE signing mock test
52 SE signing mock test: sign failed
[all …]
A Dtest_suite_lms.data1 LMS sign-verify test
6 LMS NULL-message sign-verify test
11 LMS pyhsslms interop test #1
38 # This test case continues from "LMS pyhsslms interop test #1".
190 # This test uses the data from hash-sigs interop test #1. This test has a valid
195 # This test uses the data from hash-sigs interop test #1. This test has a valid
200 # This test uses the data from hash-sigs interop test #1. This test has an
205 # This test uses the data from hash-sigs interop test #1. This test has an
210 # This test uses the data from hash-sigs interop test #1. In this case,
215 LMS import/export test
[all …]
A Dtest_suite_bignum.misc.data4 Base test mpi_read_write_string #1
10 Base test mpi_read_write_string #2
133 Base test mbedtls_mpi_lsb #1
136 Base test mbedtls_mpi_lsb #2
139 Base test mbedtls_mpi_lsb #3
142 Base test mbedtls_mpi_lsb #4
178 Base test mbedtls_mpi_cmp_int #1
181 Base test mbedtls_mpi_cmp_int #2
1405 Base test GCD #1
1408 Base test GCD #2
[all …]
A Dtest_suite_psa_crypto_se_driver_hal.data66 Key import smoke test: AES-CTR
69 Key import smoke test: AES-CBC
72 Key import smoke test: AES-CMAC
75 Key import smoke test: AES-CCM
78 Key import smoke test: AES-GCM
81 Key import smoke test: ARIA-CTR
84 Key import smoke test: ARIA-CBC
87 Key import smoke test: ARIA-CMAC
90 Key import smoke test: ARIA-CCM
93 Key import smoke test: ARIA-GCM
[all …]
A Dtest_suite_ecdsa.data93 ECDSA deterministic test vector rfc 6979 p192 sha1 [#1]
97 ECDSA deterministic test vector rfc 6979 p192 sha224 [#1]
101 ECDSA deterministic test vector rfc 6979 p192 sha256 [#1]
105 ECDSA deterministic test vector rfc 6979 p192 sha384 [#1]
109 ECDSA deterministic test vector rfc 6979 p192 sha512 [#1]
113 ECDSA deterministic test vector rfc 6979 p192 sha1 [#2]
133 ECDSA deterministic test vector rfc 6979 p224 sha1 [#1]
153 ECDSA deterministic test vector rfc 6979 p224 sha1 [#2]
173 ECDSA deterministic test vector rfc 6979 p256 sha1 [#1]
193 ECDSA deterministic test vector rfc 6979 p256 sha1 [#2]
[all …]
A Dtest_suite_x509write.data63test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"20190210144406":"202…
67test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"19700210144406":"202…
71test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"20190210144406":"205…
75test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"19700210144406":"205…
79test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"20500210144406":"205…
103test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"20190210144406":"202…
127test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"20190210144406":"202…
163test-ca2.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=Polarssl Test EC CA":"01":"20190210144406":"20290…
257 X509 Round trip test (Escaped characters)
260 X509 Round trip test (hexstring output for non string input)
[all …]
A Dhelpers.function5 #include <test/arguments.h>
6 #include <test/helpers.h>
7 #include <test/macros.h>
8 #include <test/random.h>
9 #include <test/bignum_helpers.h>
10 #include <test/psa_crypto_helpers.h>
11 #include <test/threading_helpers.h>
42 #define DISPATCH_INVALID_TEST_DATA -4 /* Invalid test parameter type.
A Dtest_suite_test_helpers.function3 /* Test some parts of the test framework. */
5 #include <test/helpers.h>
6 #include <test/memory.h>
16 /* We can't test that poisoning makes the memory inaccessible:
18 * That negative testing is done in programs/test/metatest.c. */
/mbedtls/docs/architecture/testing/
A Dtest-framework.md1 # Mbed TLS test framework
3 This document is an overview of the Mbed TLS test framework and test tools.
11 ### Unit test descriptions
13test case has a description which succinctly describes for a human audience what the test does. Th…
21 … lot of test cases with longer descriptions, but they should be avoided. At least please make sure…
31 #### SSL test case descriptions
33 Each test case in `ssl-opt.sh` has a description which succinctly describes for a human audience wh…
35 The same rules and guidelines apply as for [unit test descriptions](#unit-test-descriptions). In ad…
39 Each test case in `compat.sh` has a description which succinctly describes for a human audience wha…
51 If you run `all.sh --outcome-file test-outcome.csv`, this collects the outcome of all the test case…
[all …]
A Dinvasive-testing.md9 This is a test strategy document, not a test plan. A description of exactly what is tested is out o…
73 In unit test code that needs to modify the internal behavior:
75 * The test function (or the whole test file) must depend on `MBEDTLS_TEST_HOOKS`.
284 Goal: test the absence of memory leaks.
288test jobs with a memory leak detector, each test function or test program must clean up after itse…
292 Solution: TODO. We don't test this at all at this point.
308 Goal: test that no stray files are left over in the key store after a test that succeeded.
324 See the [secure element driver interface test strategy](driver-interface-test-strategy.html) for mo…
328 Goal: test the robustness against corrupted storage.
334 Goal: test the robustness against read errors.
[all …]
A Dpsa-storage-format-testing.md7 …ne a test strategy for the key store that not only validates that it's possible to load a key that…
19 …ting test data under version V, and reading it back under version W. Done naively, this would requ…
23test cases under a version V of Mbed TLS, where the test case parameters include both the paramete…
25test case also loads the key and checks that it has the expected data and metadata. Import-and-sav…
27 If the test passes with version V, this means that the test data is consistent with what the implem…
37test cases used to exist. It can only be enforced through review of library changes. The review is…
60 Objective: test that the key file name corresponds to the key identifier.
66 Objective: test the format of the key file: which field goes where and how big it is.
70 ### Enumeration of test cases for keys
83 Method: Each test case creates a key with `psa_import_key`, purges it from memory, then reads it ba…
[all …]
/mbedtls/programs/
A D.gitignore55 test/benchmark
56 test/cpp_dummy_build
57 test/cpp_dummy_build.cpp
58 test/dlopen
59 test/ecp-bench
60 test/metatest
63 test/selftest
64 test/ssl_cert_test
65 test/udp_proxy
66 test/zeroize
[all …]
/mbedtls/tests/data_files/
A DReadme-x509.txt9 test-ca-sha1.crt and test-ca-sha256.crt use the same key, signed with
13 variants used to test the keyUsage extension
14 The files test-ca_cat12 and test-ca_cat21 contain them concatenated both ways.
18 uses RSA-4096, signed by test-ca2
30 - test-ca-v1.crt: v1 "CA", signs
41 - issuing CA: 1 -> test-ca.crt
42 2 -> test-ca2.crt
43 I1 -> test-int-ca.crt
44 I2 -> test-int-ca2.crt
45 I3 -> test-int-ca3.crt
[all …]
A Dtest-ca.server1.opensslconf2 default_ca = test-ca
4 [ test-ca ]
5 certificate = test-ca.crt
6 private_key = test-ca.key
7 serial = test-ca.server1.serial
12 database = ./test-ca.server1.db
A Dtest-ca.server1.future-crl.opensslconf2 default_ca = test-ca
4 [ test-ca ]
5 certificate = test-ca.crt
6 private_key = test-ca.key
7 serial = test-ca.server1.serial
12 database = ./test-ca.server1.future-crl.db
A Dtest-ca.server1.test_serial.opensslconf2 default_ca = test-ca
4 [ test-ca ]
5 certificate = test-ca.crt
6 private_key = test-ca.key
7 serial = test-ca.server1.tmp.serial
13 database = ./test-ca.server1.db
/mbedtls/tests/src/
A Dhelpers.c72 mbedtls_test_info.test = test; in mbedtls_test_set_result_internal()
79 const char *test; in mbedtls_test_get_test() local
85 test = mbedtls_test_info.test; in mbedtls_test_get_test()
91 return test; in mbedtls_test_get_test()
392 void mbedtls_test_fail(const char *test, int line_no, const char *filename) in mbedtls_test_fail() argument
398 mbedtls_test_fail_internal(test, line_no, filename); in mbedtls_test_fail()
458 mbedtls_test_fail_internal(test, line_no, filename); in mbedtls_test_equal()
476 int mbedtls_test_le_u(const char *test, int line_no, const char *filename, in mbedtls_test_le_u() argument
496 mbedtls_test_fail_internal(test, line_no, filename); in mbedtls_test_le_u()
514 int mbedtls_test_le_s(const char *test, int line_no, const char *filename, in mbedtls_test_le_s() argument
[all …]
/mbedtls/programs/test/
A Dselftest.c373 const selftest_t *test; in main() local
526 for (test = selftests; test->name != NULL; test++) { in main()
527 if (!strcmp(*argp, test->name)) { in main()
528 if (test->function(v) != 0) { in main()
535 if (test->name == NULL) { in main()
542 for (test = selftests; test->name != NULL; test++) { in main()
546 if (!strcmp(*excluded, test->name)) { in main()
552 mbedtls_printf(" Skip: %s\n", test->name); in main()
557 if (test->function(v) != 0) { in main()
/mbedtls/tests/scripts/
A Dtest_zeroize.gdb8 # Run a test using the debugger to check that the mbedtls_platform_zeroize()
10 # so, the script loads the test program at programs/test/zeroize.c and sets a
15 # The mbedtls_platform_zeroize() test is debugger driven because there does not
27 # inserting a test after a call to mbedtls_platform_zeroize() to check whether
32 # Note: This test requires that the test program is compiled with -g3.
36 file ./programs/test/zeroize
41 set args ./programs/test/zeroize.c
A Dtest_psa_compliance.py99 test = -1
113 test = int(test_num)
116 unexpected_successes.remove(test)
117 expected_failures.append(test)
120 unexpected_failures.append(test)
122 elif test in unexpected_successes:
/mbedtls/tests/include/test/
A Dhelpers.h73 const char *test; member
211 void mbedtls_test_fail(const char *test, int line_no, const char *filename);
224 void mbedtls_test_skip(const char *test, int line_no, const char *filename);
279 int mbedtls_test_equal(const char *test, int line_no, const char *filename,
300 int mbedtls_test_le_u(const char *test, int line_no, const char *filename,
321 int mbedtls_test_le_s(const char *test, int line_no, const char *filename,
/mbedtls/tests/
A DDescriptions.txt3 using 'make check' (Unix make) or 'make test' (Cmake), include test cases
4 (reference test vectors, sanity checks, malformed input for parsing
8 The 'programs/test/selftest' program runs the 'XXX_self_test()' functions
10 test suite, but some slower ones are only included here.

Completed in 36 milliseconds

1234567