Home
last modified time | relevance | path

Searched full:test (Results 1 – 25 of 926) sorted by relevance

12345678910>>...38

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_bignum.misc.data4 Base test mpi_read_write_string #1
7 Base test mpi_read_write_string #1 (Leading 0)
10 Base test mpi_read_write_string #2
13 Base test mpi_read_write_string #3 (Read zero decimal)
16 Base test mpi_read_write_string #3 (Read zero hex)
19 Base test mpi_read_write_string #3 (Read minus zero decimal)
22 Base test mpi_read_write_string #3 (Read minus zero hex)
25 Base test mpi_read_write_string #3 (Negative decimal)
28 Base test mpi_read_write_string #3 (Negative decimal, leading 0)
31 Base test mpi_read_write_string #3 (Negative hex -> decimal)
[all …]
Dtest_suite_des.data13 DES Encrypt OpenSSL Test Vector #1
16 DES Encrypt OpenSSL Test Vector #2
19 DES Encrypt OpenSSL Test Vector #3
22 DES Encrypt OpenSSL Test Vector #4
25 DES Encrypt OpenSSL Test Vector #5
28 DES Encrypt OpenSSL Test Vector #6
31 DES Encrypt OpenSSL Test Vector #7
34 DES Encrypt OpenSSL Test Vector #8
37 DES Encrypt OpenSSL Test Vector #9
40 DES Encrypt OpenSSL Test Vector #10
[all …]
Dtest_suite_psa_crypto_hash.data1 PSA hash finish: SHA-1 Test Vector NIST CAVS #1
5 PSA hash finish: SHA-1 Test Vector NIST CAVS #2
9 PSA hash finish: SHA-1 Test Vector NIST CAVS #3
13 PSA hash finish: SHA-1 Test Vector NIST CAVS #4
17 PSA hash finish: SHA-1 Test Vector NIST CAVS #5
21 PSA hash finish: SHA-1 Test Vector NIST CAVS #6
25 PSA hash finish: SHA-1 Test Vector NIST CAVS #7
29 PSA hash finish: SHA-1 Test Vector NIST CAVS #8
33 PSA hash finish: SHA-1 Test Vector NIST CAVS #9
37 PSA hash finish: SHA-1 Test Vector NIST CAVS #10
[all …]
Dtest_suite_bignum_mod.misc.data1 Test mbedtls_mpi_mod_setup #1 (Internal representation invalid)
4 Test mbedtls_mpi_mod_setup #6 (Optimised reduction)
7 Test mbedtls_mpi_mod_setup #7 (Montgomery representation)
10 Test mpi_mod_mul #1 N->limbs != A->limbs
13 Test mpi_mod_mul #2 N->limbs != B->limbs
16 Test mpi_mod_mul #3 N->limbs != X->limbs
105 Test mbedtls_mpi_residue_setup #1 m > r
108 Test mbedtls_mpi_residue_setup #2 r == m - 1
111 Test mbedtls_mpi_residue_setup #3 m->limbs = r-> limbs && m > r
114 Test mbedtls_mpi_residue_setup #4 m->limbs = r-> limbs && m > r
[all …]
Dtest_suite_md.data55 generic mbedtls_md5 Test vector RFC1321 #1
59 generic mbedtls_md5 Test vector RFC1321 #2
63 generic mbedtls_md5 Test vector RFC1321 #3
67 generic mbedtls_md5 Test vector RFC1321 #4
71 generic mbedtls_md5 Test vector RFC1321 #5
75 generic mbedtls_md5 Test vector RFC1321 #6
79 generic mbedtls_md5 Test vector RFC1321 #7
83 generic mbedtls_ripemd160 Test vector from paper #1
87 generic mbedtls_ripemd160 Test vector from paper #2
91 generic mbedtls_ripemd160 Test vector from paper #3
[all …]
Dtest_suite_lmots.data1 LMOTS sign-verify test #1
2 # This test uses a fixed message, and then generates a private key, signs the
6 LMOTS sign-verify test #2
7 # This test uses a fixed message, and then generates a private key, signs the
11 LMOTS NULL-message sign-verify test
12 # This test uses a NULL zero-length message, and then generates a private key,
16 LMOTS hsslms interop test #1
17 # This test uses data from https://github.com/pmvr/python-hsslms due to the
18 # limited amount of available test vectors for LMOTS, and few implementations
21 # This test uses the same OTS key as the LMS hsslms interop test 1 (leaf 0 of
[all …]
Dtest_suite_lms.data1 LMS sign-verify test
2 # This test uses a fixed message, and then generates a private key, signs the
6 LMS NULL-message sign-verify test
7 # This test uses a NULL zero-length message, and then generates a private key,
11 LMS pyhsslms interop test #1
12 # This test uses data from https://github.com/russhousley/pyhsslms due to the
13 # limited amount of available test vectors for LMS. The private key is stored in
19 # and the public key before including them in a the test data.
37 LMS pyhsslms interop test #2
38 # This test case continues from "LMS pyhsslms interop test #1".
[all …]
Dtest_suite_bignum_mod_raw.data1 Test mbedtls_mpi_mod_raw_io #1 BE (Buffer and limbs just fit, input limb-aligned)
4 Test mbedtls_mpi_mod_raw_io #1 LE (Buffer and limbs just fit, input limb-aligned)
7 Test mbedtls_mpi_mod_raw_io #2 BE (Buffer and limbs just fit, input unaligned)
10 Test mbedtls_mpi_mod_raw_io #2 LE (Buffer and limbs just fit, input unaligned)
13 Test mbedtls_mpi_mod_raw_io #3 BE (Buffer just fits, extra limbs, input limb-aligned)
16 Test mbedtls_mpi_mod_raw_io #3 LE (Buffer just fits, extra limbs, input limb-aligned)
19 Test mbedtls_mpi_mod_raw_io #4 BE (Buffer just fits, extra limbs, input unaligned)
22 Test mbedtls_mpi_mod_raw_io #4 LE (Buffer just fits, extra limbs, input unaligned)
25 Test mbedtls_mpi_mod_raw_io #5 BE (Extra limbs, buffer aligned to extra limbs, input limb-aligned)
28 Test mbedtls_mpi_mod_raw_io #5 LE (Extra limbs, buffer aligned to extra limbs, input limb-aligned)
[all …]
Dtest_suite_bignum_core.misc.data1 Test mbedtls_mpi_core_io functions with null pointers
4 Test mbedtls_mpi_core_io_be #1 (Buffer and limbs just fit, input limb-aligned)
7 Test mbedtls_mpi_core_io_be #2 (Buffer and limbs just fit, input unaligned)
10 Test mbedtls_mpi_core_io_be #3 (Buffer just fits, extra limbs, input limb-aligned)
13 Test mbedtls_mpi_core_io_be #4 (Buffer just fits, extra limbs, input unaligned)
16 Test mbedtls_mpi_core_io_be #5 (Extra limbs, buffer aligned to extra limbs, input limb-aligned)
19 Test mbedtls_mpi_core_io_be #6 (Extra limbs, buffer aligned to extra limbs, input unaligned)
22 Test mbedtls_mpi_core_io_be #7 (Buffer and limbs just fit, input limb-aligned with leading zeroes)
25 Test mbedtls_mpi_core_io_be #8 (Buffer and limbs just fit, input unaligned with leading zeroes)
28 Test mbedtls_mpi_core_io_be #9 (Buffer just fits, extra limbs, input limb-aligned with leading zero…
[all …]
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)
10 SE init mock test: location not supported (INT_MAX)
13 SE key importing mock test
16 SE key importing mock test: max key bits
19 SE key importing mock test: more than max key bits
22 SE key importing mock test: alloc failed
25 SE key importing mock test: import failed
28 SE key exporting mock test
[all …]
Dtest_suite_cipher.ccm.data1 AES-128-CCM test vector NIST #1 (P=0, N=7, A=0, T=4)
5 AES-128-CCM test vector NIST #2 (P=0, N=7, A=0, T=4)
9 AES-128-CCM test vector NIST #3 (P=0, N=7, A=0, T=16)
13 AES-128-CCM test vector NIST #4 (P=0, N=7, A=0, T=16)
17 AES-128-CCM test vector NIST #5 (P=0, N=13, A=0, T=4)
21 AES-128-CCM test vector NIST #6 (P=0, N=13, A=0, T=4)
25 AES-128-CCM test vector NIST #7 (P=0, N=13, A=0, T=16)
29 AES-128-CCM test vector NIST #8 (P=0, N=13, A=0, T=16)
33 AES-128-CCM test vector NIST #9 (P=24, N=7, A=0, T=4)
37 AES-128-CCM test vector NIST #10 (P=24, N=7, A=0, T=4)
[all …]
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 …]
Dtest_suite_mdx.data1 # Test MD5 and RIPEMD160
2 mbedtls_md5 Test vector RFC1321 #1
5 mbedtls_md5 Test vector RFC1321 #2
8 mbedtls_md5 Test vector RFC1321 #3
11 mbedtls_md5 Test vector RFC1321 #4
14 mbedtls_md5 Test vector RFC1321 #5
17 mbedtls_md5 Test vector RFC1321 #6
20 mbedtls_md5 Test vector RFC1321 #7
23 mbedtls_ripemd160 Test vector from paper #1
26 mbedtls_ripemd160 Test vector from paper #2
[all …]
Dtest_suite_hkdf.data16 HKDF RFC5869 Test Vector #1
20 HKDF RFC5869 Test Vector #2
24 HKDF RFC5869 Test Vector #3
28 HKDF RFC5869 Test Vector #4
32 HKDF RFC5869 Test Vector #5
36 HKDF RFC5869 Test Vector #6
40 HKDF RFC5869 Test Vector #7
44 HKDF RFC5869 Test Vector #1 Extract
48 HKDF RFC5869 Test Vector #2 Extract
52 HKDF RFC5869 Test Vector #3 Extract
[all …]
Dtest_suite_aria.data22 ARIA-128-ECB Encrypt - Official Test Vectors 1.0
25 ARIA-128-ECB Decrypt - Official Test Vectors 1.0
28 ARIA-192-ECB Encrypt - Official Test Vectors 1.0
31 ARIA-192-ECB Decrypt - Official Test Vectors 1.0
34 ARIA-256-ECB Encrypt - Official Test Vectors 1.0
37 ARIA-256-ECB Decrypt - Official Test Vectors 1.0
40 ARIA-128-CBC Encrypt - Official Test Vectors 1.0
43 ARIA-128-CBC Decrypt - Official Test Vectors 1.0
46 ARIA-192-CBC Encrypt - Official Test Vectors 1.0
49 ARIA-192-CBC Decrypt - Official Test Vectors 1.0
[all …]
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…
83test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"20190210144406":"202…
87test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"20110212144406":"202…
91test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"20110212144406":"202…
95test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"20190210144406":"202…
99test-ca_unenc.key":"PolarSSLTest":"C=NL,O=PolarSSL,CN=PolarSSL Test CA":"01":"20190210144406":"202…
[all …]
/openthread-latest/tests/toranj/
Dstart.sh63 # We allow a failed test to be retried up to 7 attempts.
72 echo " *** TEST FAILED"
158 run cli/test-700-multi-radio-join.py
159 run cli/test-701-multi-radio-probe.py
160 run cli/test-702-multi-radio-discover-by-rx.py
161 run cli/test-703-multi-radio-mesh-header-msg.py
162 run cli/test-704-multi-radio-scan.py
163 run cli/test-705-multi-radio-discover-scan.py
164 run cli/test-706-multi-radio-trel-peer-addr-port-change-discovery.py
169 run cli/test-001-get-set.py
[all …]
/openthread-latest/third_party/jlink/SEGGER_RTT_V640/Examples/
DMain_RTT_PrintfTest.c36 SEGGER_RTT_printf(0, "printf Test: %%c, 'S' : %c.\r\n", 'S'); in main()
37 SEGGER_RTT_printf(0, "printf Test: %%5c, 'E' : %5c.\r\n", 'E'); in main()
38 SEGGER_RTT_printf(0, "printf Test: %%-5c, 'G' : %-5c.\r\n", 'G'); in main()
39 SEGGER_RTT_printf(0, "printf Test: %%5.3c, 'G' : %-5c.\r\n", 'G'); in main()
40 SEGGER_RTT_printf(0, "printf Test: %%.3c, 'E' : %-5c.\r\n", 'E'); in main()
41 SEGGER_RTT_printf(0, "printf Test: %%c, 'R' : %c.\r\n", 'R'); in main()
43 SEGGER_RTT_printf(0, "printf Test: %%s, \"RTT\" : %s.\r\n", "RTT"); in main()
44 SEGGER_RTT_printf(0, "printf Test: %%s, \"RTT\\r\\nRocks.\" : %s.\r\n", "RTT\r\nRocks."); in main()
46 SEGGER_RTT_printf(0, "printf Test: %%u, 12345 : %u.\r\n", 12345); in main()
47 SEGGER_RTT_printf(0, "printf Test: %%+u, 12345 : %+u.\r\n", 12345); in main()
[all …]
/openthread-latest/third_party/mbedtls/repo/docs/architecture/testing/
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…
15 * Test descriptions may not contain semicolons, line breaks and other control characters, or non-AS…
16 …Rationale: keep the tools that process test descriptions (`generate_test_code.py`, [outcome file](…
17 * Test descriptions must be unique within a `.data` file. If you can't think of a better descriptio…
18 …Rationale: make it easy to relate a failure log to the test data. Avoid confusion between cases in…
19 * Test descriptions should be a maximum of **66 characters**. <br>
21 … lot of test cases with longer descriptions, but they should be avoided. At least please make sure…
[all …]
Dinvasive-testing.md5 In Mbed TLS, we use black-box testing as much as possible: test the documented behavior of the prod…
9 This is a test strategy document, not a test plan. A description of exactly what is tested is out o…
30 Do not add test-specific interfaces if there's a practical way of doing it another way. All public …
34 In unit tests and in test programs, it's ok to include internal header files from `library/`. Do no…
36 …ch functions in `library/*.h` and include the corresponding header in the test code. If the functi…
38 If test code or test data depends on internal details of the library and not just on its documented…
41 > /* This test file is specific to the ITS implementation in PSA Crypto
48 > # This test assumes that PSA_MAX_KEY_BITS (currently 65536-8 bits = 8191 bytes
55 If the most practical way to test something is to add code to the product that is only useful for t…
57 * **Only use test-specific code when necessary.** Anything that can be tested through the documente…
[all …]
/openthread-latest/tests/unit/
DCMakeLists.txt63 add_library(ot-test-platform-ftd
67 add_library(ot-test-platform-rcp
72 target_include_directories(ot-test-platform-ftd
77 target_include_directories(ot-test-platform-rcp
82 target_compile_options(ot-test-platform-ftd
87 target_compile_options(ot-test-platform-rcp
93 target_compile_options(ot-test-platform-rcp
101 target_link_libraries(ot-test-platform-ftd
107 target_link_libraries(ot-test-platform-rcp
116 ot-test-platform-ftd
[all …]
/openthread-latest/third_party/mbedtls/repo/programs/
DMakefile15 # Only build the dlopen test in shared library builds, and not when building
76 test/benchmark \
77 test/metatest \
78 test/query_compile_time_config \
79 test/query_included_headers \
80 test/selftest \
81 test/udp_proxy \
82 test/zeroize \
98 APPS += test/dlopen
102 APPS += test/cpp_dummy_build
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/data_files/
DReadme-x509.txt7 - test-ca.crt aka "C=NL, O=PolarSSL, CN=PolarSSL Test CA"
9 test-ca-sha1.crt and test-ca-sha256.crt use the same key, signed with
11 - test-ca2*.crt aka "C=NL, O=PolarSSL, CN=Polarssl Test EC CA"
13 variants used to test the keyUsage extension
14 The files test-ca_cat12 and test-ca_cat21 contain them concatenated both ways.
17 - test-int-ca.crt "C=NL, O=PolarSSL, CN=PolarSSL Test Intermediate CA"
18 uses RSA-4096, signed by test-ca2
19 - test-int-ca-exp.crt is a copy that is expired
20 - test-int-ca2.crt "C=NL, O=PolarSSL, CN=PolarSSL Test Intermediate EC CA"
21 uses an EC key with NIST P-384, signed by test-ca
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/include/test/
Dhelpers.h42 #include "test/threading_helpers.h"
57 /** The type of test case arguments that contain binary data. */
73 const char *test; member
89 * \brief Get the current test result status
91 * \return The current test result status
96 * \brief Get the current test name/description
98 * \return The current test name/description
103 * \brief Get the current test filename
105 * \return The current test filename
110 * \brief Get the current test file line number (for failure / skip)
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dall.sh22 # Warning: the test is destructive. It includes various build modes and
76 # * component_test_XXX: build and test.
119 test -d include -a -d library -a -d programs -a -d tests
123 test -d include -a -d core -a -d drivers -a -d programs -a -d tests
140 CONFIG_TEST_DRIVER_H='tests/include/test/drivers/config_test_driver.h'
159 # Seed value used with the --release-test option.
161 # See also RELEASE_SEED in basic-build-test.sh. Debugging is easier if
164 # basic-build-test.sh as well.
230 # Test whether the component $1 is included in the command line patterns.
260 --list-all-components List all available test components and exit.
[all …]

12345678910>>...38