Allow the tf_psa prefix for functions

Allow functions to have the prefix 'tf_psa' in check_names.py. This is
needed for new functions added in TF-PSA-Crypto.

Signed-off-by: David Horstmann <[email protected]>
This commit is contained in:
David Horstmann
2025-07-16 15:08:58 +01:00
parent 08bdf6b4da
commit b0be9adb9a
+1 -1
View File
@@ -56,7 +56,7 @@ from mbedtls_framework import build_tree
PUBLIC_MACRO_PATTERN = r"^(MBEDTLS|PSA|TF_PSA)_[0-9A-Z_]*[0-9A-Z]$"
INTERNAL_MACRO_PATTERN = r"^[0-9A-Za-z_]*[0-9A-Z]$"
CONSTANTS_PATTERN = PUBLIC_MACRO_PATTERN
IDENTIFIER_PATTERN = r"^(mbedtls|psa)_[0-9a-z_]*[0-9a-z]$"
IDENTIFIER_PATTERN = r"^(mbedtls|psa|tf_psa)_[0-9a-z_]*[0-9a-z]$"
class Match(): # pylint: disable=too-few-public-methods
"""