Mbed-TLS / mbedtls-framework

TF-PSA-Crypto and Mbed TLS version-independent build and test framework
Other
1 stars 16 forks source link

Add a Python utility function to get the 3.6 feature macro for a given PSA algorithm and 3.6 domain #51

Closed ronald-cron-arm closed 2 weeks ago

ronald-cron-arm commented 1 month ago

In the framework, when we generate test cases, we need to set dependency macros and dependency macros are not the same in 3.6 and 4.0. See #31 and #34 as examples of that. We prefer not to have an ad-hoc solution each time we encounter this issue in the Python scripts (like in #31 and #34). Thus the idea to have an utility function in test_case.py to help. The signature of this function has been discussed here https://github.com/Mbed-TLS/mbedtls-framework/pull/46#discussion_r1762973150. The goal of this task is to implement this utility function and use it to override the temporary solutions in #31 and #34.