Gilles Peskine 66c0b7b170 Use InputsForTest 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.

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>
2021-04-19 13:58:55 +02:00
..
asymmetric_key_data.py Add key material for twisted Edwards curves 2021-03-29 15:08:10 +02:00
c_build_helper.py Minor documentation fixes 2021-01-19 21:23:11 +01:00
crypto_knowledge.py Consistently describe Ed25519 as a 255-bit curve 2021-03-29 14:55:44 +02:00
macro_collector.py Use InputsForTest in generate_psa_tests 2021-04-19 13:58:55 +02:00
psa_storage.py Obtain the values of expressions by running C code 2021-03-10 23:22:35 +01:00
test_case.py Do not require typing_extensions at runtime 2021-02-17 14:58:29 +01:00
typing_util.py Do not require typing_extensions at runtime 2021-02-17 14:58:29 +01:00