mbedtls/tests/scripts
Gilles Peskine 32e889dfc3 Document and fix the MBEDTLS_xxx_ALT logic for the full config
The intended logic around MBEDTLS_xxx_ALT is to exclude them from full
because they require the alternative implementation of one or more
library functions, except that MBEDTLS_PLATFORM_xxx_ALT are different:
they're alternative implementations of a platform function and they
have a built-in default, so they should be included in full. Document
this.

Fix a bug whereby MBEDTLS_PLATFORM_xxx_ALT didn't catch symbols where
xxx contains an underscore. As a consequence,
MBEDTLS_PLATFORM_GMTIME_R_ALT and MBEDTLS_PLATFORM_NV_SEED_ALT are now
enabled in the full config. Explicitly exclude
MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT because it behaves like the
non-platform ones, requiring an extra build-time dependency.
Explicitly exclude MBEDTLS_PLATFORM_NV_SEED_ALT from baremetal
because it requires MBEDTLS_ENTROPY_NV_SEED, and likewise explicitly
unset it from builds that unset MBEDTLS_ENTROPY_NV_SEED.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-04-14 21:23:48 +02:00
..
all-in-docker.sh Clean up file prologue comments 2019-06-29 17:45:34 -05:00
all.sh Document and fix the MBEDTLS_xxx_ALT logic for the full config 2020-04-14 21:23:48 +02:00
basic-build-test.sh Enable extra features that have tests 2020-04-10 11:33:52 +02:00
basic-in-docker.sh Restore full tls coverage to remaining scripts 2020-03-23 17:55:31 +01:00
check-doxy-blocks.pl
check-files.py 3rdparty: Fix Makefile coding conventions 2019-08-29 16:12:38 +01:00
check-generated-files.sh query_config: Move to programs/test 2020-02-11 19:26:27 +01:00
check-names.sh Move 3rdparty mentions to a separate line 2020-02-19 20:13:29 +01:00
check-python-files.sh Change the use of pylint to optionally use pylint3 2020-03-16 11:38:02 +00:00
check-test-cases.py Remove remaining references to the crypto subdirectory 2020-03-23 17:55:31 +01:00
curves.pl Invoke config.py instead of config.pl 2019-11-13 14:33:33 +00:00
depends-hashes.pl Adjust depends-hashes.pl to test NO_SHA384 as well 2020-01-06 11:40:23 +01:00
depends-pkalgs.pl Revert "config: Remove TLS and NET options" 2020-03-19 13:55:04 +01:00
docker_env.sh Improve compatibility with firewalled networks 2019-06-29 17:45:34 -05:00
doxygen.sh
gen_ctr_drbg.pl
gen_gcm_decrypt.pl
gen_gcm_encrypt.pl
gen_pkcs1_v21_sign_verify.pl
generate_test_code.py Revert "tests: Update generator with Mbed Crypto comments" 2020-03-04 15:39:14 +01:00
generate-afl-tests.sh
key-exchanges.pl Invoke config.py instead of config.pl in reverted content 2020-03-19 14:23:45 +01:00
list-enum-consts.pl Fix preprocessor directive recognition in list-enum-consts.pl 2019-08-29 16:12:38 +01:00
list-identifiers.sh Make check-names.sh find the right names in 3rdparty 2019-08-19 13:36:44 +01:00
list-macros.sh Revert "check-names: Enable referencing Mbed TLS macros" 2020-03-19 13:55:04 +01:00
list-symbols.sh Invoke config.py instead of config.pl 2019-11-13 14:33:33 +00:00
mbedtls_test.py Fix some pylint warnings 2019-12-20 15:14:59 +00:00
psa_collect_statuses.py PSA return status coverage script 2019-09-06 19:28:47 +02:00
recursion.pl Revert "recursion.pl: Don't depend on X.509" 2020-03-19 14:23:45 +01:00
run-test-suites.pl 'make test' must fail if Asan fails 2019-10-21 20:10:21 +02:00
tcp_client.pl Revert "Remove tests that depend on TLS or X.509" 2020-03-19 14:17:54 +01:00
test_config_script.py Add set+get tests 2019-11-13 14:33:34 +00:00
test_generate_test_code.py Silence pylint 2019-02-27 11:03:25 +01:00
test_psa_constant_names.py Change key types to a 16-bit encoding 2020-01-31 10:24:21 +01:00
test_zeroize.gdb
test-ref-configs.pl Add comment to help syntax highlighting in editors 2020-03-23 17:55:32 +01:00
travis-log-failure.sh Revert "Remove tests that depend on TLS or X.509" 2020-03-19 14:17:54 +01:00