mbedtls/scripts
Gilles Peskine d6d2d6a7d7 Use InputsForTest in generate_psa_tests
In generate_psa_tests, use InputsForTest rather than PSAMacroCollector
to gather values. This way, the enumeration of values to test includes
values used in metadata tests in addition to constructors parsed from
header files. This allows greater coverage of values built from
constructors with arguments. This doesn't make a difference yet, but
it will once algorithm constructors with arguments are supported in
generate_psa_tests.

Make the injection of numerical values optional. They are useful for
test_psa_constant_names, so keep them there. Don't use them for
not-supported tests: they might make sense, but the current code
wouldn't work since it doesn't know how to make up fake key material
or what dependencies to generate. Don't use them for storage tests:
they only make sense for supported values.

Don't inject 'PSA_SUCCESS': that's superfluous.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-05-25 19:31:21 +02:00
..
data_files Add missing guard to mbedtls_test_hook_error_add 2021-04-13 15:27:04 +01:00
mbedtls_dev Use InputsForTest in generate_psa_tests 2021-05-25 19:31:21 +02:00
abi_check.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
apidoc_full.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
assemble_changelog.py Fix error message for long lines with URLs. 2021-03-31 11:18:28 +02:00
bump_version.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
config.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
config.py Don't turn on NO_FALLBACK for full build since it removes functionality 2021-01-22 09:43:27 +01:00
ecc-heap.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
find-mem-leak.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
footprint.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate_errors.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate_features.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate_psa_constants.py Update all uses of old AEAD output size macros 2021-04-15 17:32:06 +02:00
generate_query_config.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate_visualc_files.pl Add test driver sources to VC build 2021-04-16 11:20:03 +02:00
massif_max.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
memory.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
output_env.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
rename.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
rm-calloc-cast.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
tmp_ignore_makefiles.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
windows_msbuild.bat Add a simple build script for Windows with Visual Studio 2020-04-26 20:52:04 +02:00