Home
last modified time | relevance | path

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

12345678910>>...32

/openthread-3.4.0/tests/unit/
DCMakeLists.txt40 add_library(ot-test-platform
45 target_include_directories(ot-test-platform
50 target_compile_options(ot-test-platform
55 target_link_libraries(ot-test-platform
64 ot-test-platform
66 ot-test-platform
72 add_executable(ot-test-aes
76 target_include_directories(ot-test-aes
81 target_compile_options(ot-test-aes
86 target_link_libraries(ot-test-aes
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/
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_mpi.data10 Base test mpi_read_write_string #1
13 Base test mpi_read_write_string #1 (Leading 0)
16 Base test mpi_read_write_string #2
19 Base test mpi_read_write_string #3 (Read zero decimal)
22 Base test mpi_read_write_string #3 (Read zero hex)
25 Base test mpi_read_write_string #3 (Read minus zero decimal)
28 Base test mpi_read_write_string #3 (Read minus zero hex)
31 Base test mpi_read_write_string #3 (Negative decimal)
34 Base test mpi_read_write_string #3 (Negative decimal, leading 0)
37 Base test mpi_read_write_string #3 (Negative hex -> decimal)
[all …]
Dtest_suite_md.data44 generic mbedtls_md2 Test vector RFC1319 #1
48 generic mbedtls_md2 Test vector RFC1319 #2
52 generic mbedtls_md2 Test vector RFC1319 #3
56 generic mbedtls_md2 Test vector RFC1319 #4
60 generic mbedtls_md2 Test vector RFC1319 #5
64 generic mbedtls_md2 Test vector RFC1319 #6
68 generic mbedtls_md2 Test vector RFC1319 #7
72 generic mbedtls_md4 Test vector RFC1320 #1
76 generic mbedtls_md4 Test vector RFC1320 #2
80 generic mbedtls_md4 Test vector RFC1320 #3
[all …]
Dtest_suite_mdx.data1 # Test MD2, MD4, MD5 and RIPEMD160
2 mbedtls_md2 Test vector RFC1319 #1
5 mbedtls_md2 Test vector RFC1319 #2
8 mbedtls_md2 Test vector RFC1319 #3
11 mbedtls_md2 Test vector RFC1319 #4
14 mbedtls_md2 Test vector RFC1319 #5
17 mbedtls_md2 Test vector RFC1319 #6
20 mbedtls_md2 Test vector RFC1319 #7
23 mbedtls_md4 Test vector RFC1320 #1
26 mbedtls_md4 Test vector RFC1320 #2
[all …]
Dtest_suite_shax.data7 # Test the operation of SHA-1 and SHA-2
8 SHA-1 Test Vector NIST CAVS #1
12 SHA-1 Test Vector NIST CAVS #2
16 SHA-1 Test Vector NIST CAVS #3
20 SHA-1 Test Vector NIST CAVS #4
24 SHA-1 Test Vector NIST CAVS #5
28 SHA-1 Test Vector NIST CAVS #6
32 SHA-1 Test Vector NIST CAVS #7
36 SHA-1 Test Vector NIST CAVS #8
40 SHA-1 Test Vector NIST CAVS #9
[all …]
Dtest_suite_ecdsa.data96 ECDSA deterministic test vector rfc 6979 p192 sha1 [#1]
100 ECDSA deterministic test vector rfc 6979 p192 sha224 [#1]
104 ECDSA deterministic test vector rfc 6979 p192 sha256 [#1]
108 ECDSA deterministic test vector rfc 6979 p192 sha384 [#1]
112 ECDSA deterministic test vector rfc 6979 p192 sha512 [#1]
116 ECDSA deterministic test vector rfc 6979 p192 sha1 [#2]
118 …192R1:"6FAB034934E4C0FC9AE67F5B5659A9D7D1FEFD187EE09FD4":MBEDTLS_MD_SHA1:"test":"0F2141A0EBBC44D2E…
120 ECDSA deterministic test vector rfc 6979 p192 sha224 [#2]
122 …2R1:"6FAB034934E4C0FC9AE67F5B5659A9D7D1FEFD187EE09FD4":MBEDTLS_MD_SHA224:"test":"6945A1C1D1B2206B8…
124 ECDSA deterministic test vector rfc 6979 p192 sha256 [#2]
[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_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_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_aria.data25 ARIA-128-ECB Encrypt - Official Test Vectors 1.0
28 ARIA-128-ECB Decrypt - Official Test Vectors 1.0
31 ARIA-192-ECB Encrypt - Official Test Vectors 1.0
34 ARIA-192-ECB Decrypt - Official Test Vectors 1.0
37 ARIA-256-ECB Encrypt - Official Test Vectors 1.0
40 ARIA-256-ECB Decrypt - Official Test Vectors 1.0
43 ARIA-128-CBC Encrypt - Official Test Vectors 1.0
46 ARIA-128-CBC Decrypt - Official Test Vectors 1.0
49 ARIA-192-CBC Encrypt - Official Test Vectors 1.0
52 ARIA-192-CBC Decrypt - Official Test Vectors 1.0
[all …]
Dtest_suite_pem.data2TEST-----\n":"-----END TEST-----\n":"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0…
5 mbedtls_pem_write_buffer:"-----START TEST-----\n":"-----END TEST-----\n":"":"-----START TEST-----\n…
8 …edtls_pem_write_buffer:"-----START TEST-----\n":"-----END TEST-----\n":"00":"-----START TEST-----\…
11TEST-----\n":"-----END TEST-----\n":"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0…
14TEST-----\n":"-----END TEST-----\n":"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0…
17TEST-----\n":"-----END TEST-----\n":"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0…
Dtest_suite_psa_crypto_se_driver_hal.data4 # Run this test case a second time to verify that the library deinit
66 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
[all …]
Dtest_suite_poly1305.data1 Poly1305 RFC 7539 Example And Test Vector
4 Poly1305 RFC 7539 Test Vector #1
7 Poly1305 RFC 7539 Test Vector #2
10 Poly1305 RFC 7539 Test Vector #3
13 Poly1305 RFC 7539 Test Vector #4
16 Poly1305 RFC 7539 Test Vector #5
19 Poly1305 RFC 7539 Test Vector #6
22 Poly1305 RFC 7539 Test Vector #7
25 Poly1305 RFC 7539 Test Vector #8
28 Poly1305 RFC 7539 Test Vector #9
[all …]
/openthread-3.4.0/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
168 run cli/test-001-get-set.py
169 run cli/test-002-form.py
[all …]
/openthread-3.4.0/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-3.4.0/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 header files from `library/`. Do not define …
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-3.4.0/third_party/mbedtls/repo/tests/include/test/
Dmacros.h55 * \brief This macro tests the expression passed to it as a test step or
56 * individual test in a test case.
62 * callback, MBEDTLS_PARAM_FAILED(), will be assumed to be a test
66 * as it assumes the test step will not create an error.
68 * Failing the test means:
69 * - Mark this test case as failed.
76 * \param TEST The test expression to be tested.
78 #define TEST_ASSERT( TEST ) \
80 if( ! (TEST) ) \
82 mbedtls_test_fail( #TEST, __LINE__, __FILE__ ); \
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/tests/scripts/
Dall.sh34 # Warning: the test is destructive. It includes various build modes and
85 # * component_test_XXX: build and test.
149 # Seed value used with the --release-test option.
151 # See also RELEASE_SEED in basic-build-test.sh. Debugging is easier if
154 # basic-build-test.sh as well.
204 # Test whether the component $1 is included in the command line patterns.
234 --list-all-components List all available test components and exit.
253 --error-test Error test mode: run a failing function in addition
264 --outcome-file=<path> File where test outcomes are written (not done if
267 …-r|--release-test Run this script in release mode. This fixes the seed value to ${RELEASE_SEED…
[all …]
/openthread-3.4.0/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-3.4.0/third_party/nlbuild-autotools/repo/third_party/autoconf/
Dtest-driver2 # test-driver - basic testsuite driver script.
45 test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
48 TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
49 The '--test-name', '--log-file' and '--trs-file' options are mandatory.
54 log_file= # Where to save the output of the test script.
55 trs_file= # Where to save the metadata of the test run.
59 while test $# -gt 0; do
62 --version) echo "test-driver $scriptversion"; exit $?;;
63 --test-name) test_name=$2; shift;;
77 test x"$test_name" = x && missing_opts="$missing_opts --test-name"
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/programs/
DMakefile64 # Only build the dlopen test in shared library builds, and not when building
116 test/benchmark$(EXEXT) \
117 test/query_compile_time_config$(EXEXT) \
118 test/selftest$(EXEXT) \
119 test/udp_proxy$(EXEXT) \
120 test/zeroize$(EXEXT) \
136 APPS += test/dlopen
140 APPS += test/cpp_dummy_build$(EXEXT)
150 # sample or test programs, and don't build with MSVC which is
288 SSL_TEST_OBJECTS = test/query_config.o ssl/ssl_test_lib.o
[all …]

12345678910>>...32