Home
last modified time | relevance | path

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

1234567891011

/net-tools-3.6.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_mpi.data4 Base test mpi_read_write_string #1
7 Base test mpi_read_write_string #2
10 Base test mpi_read_write_string #3 (Read zero)
13 Base test mpi_read_write_string #3 (Negative decimal)
16 Base test mpi_read_write_string #3 (Negative hex)
19 Base test mpi_read_write_string #3 (Negative decimal)
22 Test mpi_read_write_string #1 (Invalid character)
25 Test mpi_read_write_string #2 (Illegal input radix)
28 Test mpi_read_write_string #3 (Buffer just fits)
31 Test mpi_read_write_string #4 (Buffer too small)
[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_md.data43 generic mbedtls_md2 Test vector RFC1319 #1
47 generic mbedtls_md2 Test vector RFC1319 #2
51 generic mbedtls_md2 Test vector RFC1319 #3
55 generic mbedtls_md2 Test vector RFC1319 #4
59 generic mbedtls_md2 Test vector RFC1319 #5
63 generic mbedtls_md2 Test vector RFC1319 #6
67 generic mbedtls_md2 Test vector RFC1319 #7
71 generic mbedtls_md4 Test vector RFC1320 #1
75 generic mbedtls_md4 Test vector RFC1320 #2
79 generic mbedtls_md4 Test vector RFC1320 #3
[all …]
Dtest_suite_ecdsa.data53 ECDSA deterministic test vector rfc 6979 p192 mbedtls_sha1
57 ECDSA deterministic test vector rfc 6979 p192 sha224
61 ECDSA deterministic test vector rfc 6979 p192 mbedtls_sha256
65 ECDSA deterministic test vector rfc 6979 p192 sha384
69 ECDSA deterministic test vector rfc 6979 p192 mbedtls_sha512
73 ECDSA deterministic test vector rfc 6979 p192 mbedtls_sha1
75 …192R1:"6FAB034934E4C0FC9AE67F5B5659A9D7D1FEFD187EE09FD4":MBEDTLS_MD_SHA1:"test":"0F2141A0EBBC44D2E…
77 ECDSA deterministic test vector rfc 6979 p192 sha224
79 …2R1:"6FAB034934E4C0FC9AE67F5B5659A9D7D1FEFD187EE09FD4":MBEDTLS_MD_SHA224:"test":"6945A1C1D1B2206B8…
81 ECDSA deterministic test vector rfc 6979 p192 mbedtls_sha256
[all …]
Dtest_suite_mdx.data1 mbedtls_md2 Test vector RFC1319 #1
4 mbedtls_md2 Test vector RFC1319 #2
7 mbedtls_md2 Test vector RFC1319 #3
10 mbedtls_md2 Test vector RFC1319 #4
13 mbedtls_md2 Test vector RFC1319 #5
16 mbedtls_md2 Test vector RFC1319 #6
19 mbedtls_md2 Test vector RFC1319 #7
22 mbedtls_md4 Test vector RFC1320 #1
25 mbedtls_md4 Test vector RFC1320 #2
28 mbedtls_md4 Test vector RFC1320 #3
[all …]
Dtest_suite_shax.data1 SHA-1 Test Vector NIST CAVS #1
5 SHA-1 Test Vector NIST CAVS #2
9 SHA-1 Test Vector NIST CAVS #3
13 SHA-1 Test Vector NIST CAVS #4
17 SHA-1 Test Vector NIST CAVS #5
21 SHA-1 Test Vector NIST CAVS #6
25 SHA-1 Test Vector NIST CAVS #7
29 SHA-1 Test Vector NIST CAVS #8
33 SHA-1 Test Vector NIST CAVS #9
37 SHA-1 Test Vector NIST CAVS #10
[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_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_base64.data1 Test case mbedtls_base64_encode #1 buffer just right
4 Test case mbedtls_base64_encode #2 buffer just right
7 Test case mbedtls_base64_encode #2 buffer too small
10 Test case mbedtls_base64_encode #3 buffer just right
13 Test case mbedtls_base64_encode #3 buffer too small
16 Test case mbedtls_base64_encode #4 buffer just right
19 Test case mbedtls_base64_encode #4 buffer too small
22 Test case mbedtls_base64_encode #5 buffer just right
25 Test case mbedtls_base64_encode #5 buffer too small
28 Test case mbedtls_base64_encode #6 buffer just right
[all …]
Dtest_suite_pkcs1_v15.data1 RSAES-V15 Encryption Test Vector Int
4 RSAES-V15 Decryption Test Vector Int
7 RSAES-V15 Encryption Test Vector Data just fits
10 RSAES-V15 Decryption Test Vector Data just fits
13 RSAES-V15 Encryption Test Vector Data too long 1
16 RSAES-V15 Decryption Test Vector Padding too short 7
19 RSAES-V15 Encryption Test Vector Data too long 3
22 RSAES-V15 Decryption Test Vector Padding too short 5
25 RSAES-V15 Encryption Test Vector Data too long 8
28 RSAES-V15 Decryption Test Vector Padding too short 0
[all …]
Dtest_suite_arc4.data1 Test vector ARC4 [Cryptlib]
4 Test vector ARC4 [COMMERCE]
7 Test vector ARC4 [SSH ARCFOUR]
10 Test Vector ARC4 [RFC6229 40-bit]
13 Test Vector ARC4 [RFC6229 56-bit]
16 Test Vector ARC4 [RFC6229 64-bit]
19 Test Vector ARC4 [RFC6229 128-bit]
Dtest_suite_x509parse.data3 …rial number \: 01\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name …
7 …rial number \: 02\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name …
11test-ca.crt":"cert. version \: 3\nserial number \: 00\nissuer name \: C=NL, O=PolarS…
15 …rial number \: 09\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name …
19 …rial number \: 05\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name …
23 …rial number \: 06\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name …
27 …rial number \: 07\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name …
31 …rial number \: 08\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name …
35 …rial number \: 09\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name …
39 …rial number \: 0A\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name …
[all …]
Dtest_suite_debug.data17 mbedtls_debug_print_ret:"MyFile":999:"Test return value":0:"MyFile(0999)\: Test return value() retu…
20 mbedtls_debug_print_ret:"MyFile":999:"Test return value":-0x1000:"MyFile(0999)\: Test return value(…
23 mbedtls_debug_print_ret:"MyFile":999:"Test return value":-0xFFFF:"MyFile(0999)\: Test return value(…
26 mbedtls_debug_print_buf:"MyFile":999:"Test return value":"":"MyFile(0999)\: dumping 'Test return va…
29 mbedtls_debug_print_buf:"MyFile":999:"Test return value":"00":"MyFile(0999)\: dumping 'Test return …
32 …dtls_debug_print_buf:"MyFile":999:"Test return value":"000102030405060708090A0B0C0D0E0F":"MyFile(0…
35 …tls_debug_print_buf:"MyFile":999:"Test return value":"000102030405060708090A0B0C0D0E0F00":"MyFile(…
38 …:"Test return value":"000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425…
42 … \: 01\nMyFile(0999)\: issuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nMyFile(0999)\: …
46test-ca2.crt":"MyFile":999:"PREFIX_":"MyFile(0999)\: PREFIX_ #1\:\nMyFile(0999)\: cert. version …
/net-tools-3.6.0/mbedtls-2.4.0/tests/data_files/
DReadme-x509.txt7 - test-ca.crt aka "C=NL, O=PolarSSL, CN=PolarSSL Test CA"
9 - test-ca2*.crt aka "C=NL, O=PolarSSL, CN=Polarssl Test EC CA"
11 variants used to test the keyUsage extension
12 The files test-ca_cat12 and test-ca_cat21 contain them concatenated both ways.
15 - test-int-ca.crt "C=NL, O=PolarSSL, CN=PolarSSL Test Intermediate CA"
16 uses RSA-4096, signed by test-ca2
17 - test-int-ca2.crt "C=NL, O=PolarSSL, CN=PolarSSL Test Intermediate EC CA"
18 uses an EC key with NIST P-256, signed by test-ca
20 A third intermediate CA is signed by test-int-ca2.crt:
21 - test-int-ca3.crt "C=UK, O=mbed TLS, CN=mbed TLS Test intermediate CA 3"
[all …]
/net-tools-3.6.0/mbedtls-2.4.0/tests/scripts/
Dgenerate-afl-tests.sh3 # This script splits the data test files containing the test cases into
4 # individual files (one test case per file) suitable for use with afl
7 # Usage: generate-afl-tests.sh <test data file path>
8 # <test data file path> - should be the path to one of the test suite files
16 echo " [!] No test file specified" >&2
17 echo "Usage: $0 <test data file>" >&2
40 echo " [!] Test output files already exist." >&2
48 echo " [!] Test output files already exist." >&2
53 echo " [+] Creating test cases" >&2
67 echo " [+] Test cases in $DEST_TESTCASE_DIR" >&2
Dbasic-build-test.sh11 # Executes the basic test suites, captures the results, and generates a simple
12 # test report and code coverage report.
15 # * Unit tests - executed using tests/scripts/run-test-suite.pl
16 # * Self-tests - executed using the test suites above
79 perl scripts/run-test-suites.pl -v |tee unit-test-$TEST_OUTPUT
83 sh ssl-opt.sh |tee sys-test-$TEST_OUTPUT
88 tee compat-test-$TEST_OUTPUT
90 sh compat.sh -m 'ssl3' |tee -a compat-test-$TEST_OUTPUT
95 tee -a compat-test-$TEST_OUTPUT
103 # Step 4 - Summarise the test report
[all …]
Dall.sh13 # Warning: the test is destructive. It includes various build modes and
52 printf " -s|--seed\t\tInteger seed value to use for this test run.\n"
53 … printf " -r|--release-test\t\tRun this script in release mode. This fixes the seed value to 1.\n"
116 --release-test|-r)
163 echo "You can either delete your work and retry, or force the test to overwrite the"
164 echo "test by rerunning the script as: $0 --force"
170 echo "You can either delete this directory manually, or force the test by rerunning"
178 echo "You can either delete or preserve your work, or force the test by rerunning the"
215 # Test Suites to be executed
217 # The test ordering tries to optimize for the following criteria:
[all …]
Dgenerate_code.pl11 # Generates the test suite code given inputs of the test suite directory that
12 # contain the test suites, and the test suite file names for the test code and
13 # test data.
20 # Template file that contains the main() function for the test suite,
21 # test dispatch code as well as support functions. It contains the
37 # - test suite code file - file name in the form 'test_suite_xxx.function'
38 # Code file that contains the actual test cases. The file contains a
42 # the test suite
43 # BEGIN_CASE / END_CASE - the test cases in the test suite. Each test
47 # - test data file - file name in the form 'test_suite_xxxx.data'
[all …]
Dcurves.pl9 # To test the code dependencies on individual curves in each test suite. This
10 # is a verification step to ensure we don't ship test suites that do not work
15 # build the library and test suites with the curve disabled
16 # execute the test suites
18 # And any test suite with the wrong dependencies will fail.
54 system( "make test" ) and abort "Failed test suite: $curve\n";
Drun-test-suites.pl3 # run-test-suites.pl
11 # Executes all the available test suites, and provides a basic summary of the
14 # Usage: run-test-suites.pl [-v]
17 # -v|--verbose - Provide a pass/fail/skip breakdown per test suite and
37 die "$0: no test suite found\n" unless @suites;
39 # in case test suites are linked dynamically
68 print "(test cases passed:", $suite_cases_passed,
86 print " test cases passed :", $total_cases_passed, "\n";
/net-tools-3.6.0/mbedtls-2.4.0/yotta/data/example-selftest/
DREADME.md3 …mbed TLS on your platform. In the future, a wider portion of the mbed TLS test suite will become p…
37 5. Copy `build/frdm-k64f-gcc/test/mbedtls-test-example-selftest.bin` to your mbed board and wait un…
58 SHA-224 test #1: passed
59 SHA-224 test #2: passed
60 SHA-224 test #3: passed
61 SHA-256 test #1: passed
62 SHA-256 test #2: passed
63 SHA-256 test #3: passed
73 ECP test #1 (constant op_count, base point G): passed
74 ECP test #2 (constant op_count, other point): passed
[all …]
/net-tools-3.6.0/tinydtls-0.8.2/
Dconfigure17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73 if test "${PATH_SEPARATOR+set}" != set; then
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
[all …]
/net-tools-3.6.0/libcoap/examples/
Detsi_testcases.sh68 # Perform GET (CON mode) on resource /test
70 # pre: resource /test exists and can handle GET with arbitrary payload
84 testaddress=coap://$SERVERTUP/test
90 # Perform POST transaction (CON mode) on resource /test: create
91 # resource /test
93 # pre: resource /test doesn't exist but can be created on /test
111 testaddress=coap://$SERVERTUP/test
117 # Perform PUT transaction (CON mode) on resource /test
119 # pre: resource /test exists which can handle PUT
136 testaddress=coap://$SERVERTUP/test
[all …]
/net-tools-3.6.0/tinydtls-0.8.2/sha2/testvectors/testvectors/
Dvector017.info3 with several others on several test data sets he had tested
4 against. This test vector data set is one Rogier provided
12 SHA256_Final() functions, I simply replaced a single "<" test
13 with a "<=" test.
17 (Total length of test vector data: 12271)

1234567891011