mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-31 17:51:11 +02:00
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. In generate_psa_tests, use values gathered from the metadata test suite as well. This doesn't make a difference yet, but it will once algorithm constructors with arguments are supported. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>