mbedtls/scripts
Gilles Peskine df4f7c1274 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-28 15:02:50 +02:00
..
data_files Systematically use Windows line endings in Windows files 2020-04-06 16:32:30 +02:00
abi_check.py Pylint: abide by useless-object-inheritance warnings 2020-04-11 20:50:51 +02:00
apidoc_full.sh Add scripts/apidoc_full.sh 2016-01-12 14:48:03 +00:00
bump_version.sh Add gen_query_config.pl to check-gen-files and bump_version 2019-02-07 10:32:31 +00:00
config.pl Document and fix the MBEDTLS_xxx_ALT logic for the full config 2020-04-28 15:02:50 +02:00
ecc-heap.sh Rename M255 to Curve25519 2015-06-23 13:09:10 +02:00
find-mem-leak.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
footprint.sh Remove Yotta module from footprint.sh script 2017-05-15 11:23:55 +03:00
generate_errors.pl Add platform error codes 2018-08-29 18:53:20 +03:00
generate_features.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
generate_query_config.pl Update query_config.c with new macros 2019-02-07 10:32:31 +00:00
generate_visualc_files.pl Fix a stray CR inside a line 2020-04-06 16:29:44 +02:00
massif_max.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
memory.sh Print I/O buffer size in memory.sh 2015-09-09 13:51:05 +02:00
output_env.sh Change the use of pylint to optionally use pylint3 2020-03-16 13:53:06 +00:00
rename.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
rm-calloc-cast.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
tmp_ignore_makefiles.sh Ability to ignore changes to Makefiles due to CMake usage 2014-06-24 11:09:25 +02:00