mbedtls/scripts
Gilles Peskine 3d404b8a10 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:39:02 +02:00
..
data_files Merge pull request #4006 from chris-jones-arm/development 2021-04-28 16:47:29 +02:00
mbedtls_dev Use InputsForTest in generate_psa_tests 2021-05-25 19:39:02 +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 Explicitly use UTF-8 in assemble_changelog 2021-05-20 10:37:22 +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 Merge branch 'development' into convert_NO_SHA384_to_positive 2021-05-20 14:18:12 +02: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 Accept Windows line endings on inputs on any platform 2021-05-20 10:37:22 +02:00
generate_features.pl Accept Windows line endings on inputs on any platform 2021-05-20 10:37:22 +02:00
generate_psa_constants.py Allow running source file generators from a subdirectory 2021-05-17 22:46:27 +02:00
generate_query_config.pl Allow running source file generators from a subdirectory 2021-05-17 22:46:27 +02:00
generate_visualc_files.pl Simplify line ending management and make it work on Windows 2021-05-20 10:37:22 +02:00
make_generated_files.bat Explicitly specify exit code for "exit /b" 2021-05-20 10:37:22 +02:00
massif_max.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
memory.sh Remove certs module from mbedtls. 2021-03-16 15:51:25 +01:00
output_env.sh 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