xref: /aosp_15_r20/external/mbedtls/tests/Descriptions.txt (revision 62c56f9862f102b96d72393aff6076c951fb8148)
1*62c56f98SSadaf Ebrahimitest_suites
2*62c56f98SSadaf Ebrahimi    The various 'test_suite_XXX' programs from the 'tests' directory, executed
3*62c56f98SSadaf Ebrahimi    using 'make check' (Unix make) or 'make test' (Cmake), include test cases
4*62c56f98SSadaf Ebrahimi    (reference test vectors, sanity checks, malformed input for parsing
5*62c56f98SSadaf Ebrahimi    functions, etc.) for all modules except the SSL modules.
6*62c56f98SSadaf Ebrahimi
7*62c56f98SSadaf Ebrahimiselftests
8*62c56f98SSadaf Ebrahimi    The 'programs/test/selftest' program runs the 'XXX_self_test()' functions
9*62c56f98SSadaf Ebrahimi    of each individual module. Most of them are included in the respective
10*62c56f98SSadaf Ebrahimi    test suite, but some slower ones are only included here.
11*62c56f98SSadaf Ebrahimi
12*62c56f98SSadaf Ebrahimicompat
13*62c56f98SSadaf Ebrahimi    The 'tests/compat.sh' script checks interoperability with OpenSSL and
14*62c56f98SSadaf Ebrahimi    GnuTLS (and ourselves!) for every common ciphersuite, in every TLS
15*62c56f98SSadaf Ebrahimi    version, both ways (client/server), using client authentication or not.
16*62c56f98SSadaf Ebrahimi    For each ciphersuite/version/side/authmode it performs a full handshake
17*62c56f98SSadaf Ebrahimi    and a small data exchange.
18*62c56f98SSadaf Ebrahimi
19*62c56f98SSadaf Ebrahimissl_opt
20*62c56f98SSadaf Ebrahimi    The 'tests/ssl-opt.sh' script checks various options and/or operations not
21*62c56f98SSadaf Ebrahimi    covered by compat.sh: session resumption (using session cache or tickets),
22*62c56f98SSadaf Ebrahimi    renegotiation, SNI, other extensions, etc.
23