mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-06-06 05:25:18 +00:00
PSA test case generation: operation fail: fix family dependencies
In operation failure test cases, fix dependencies on DH or ECC groups, which were not spelled correctly and were missing the size suffix. This changes the dependencies of many test cases in `test_suite_psa_crypto_op_fail.generated.data` to no longer have a never-implemented symbol as a dependency. Thus more test cases will run. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@@ -257,6 +257,7 @@ class OpFail:
|
||||
if kt:
|
||||
bits = kt.sizes_to_test()[0]
|
||||
tc.set_key_bits(bits)
|
||||
dependencies = psa_information.finish_family_dependencies(dependencies, bits)
|
||||
key_material = kt.key_material(bits)
|
||||
arguments += [key_type, test_case.hex_string(key_material)]
|
||||
arguments.append(alg.expression)
|
||||
|
||||
Reference in New Issue
Block a user