Skip to content

Commit b0be9ad

Browse files
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]>
1 parent 08bdf6b commit b0be9ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check_names.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
PUBLIC_MACRO_PATTERN = r"^(MBEDTLS|PSA|TF_PSA)_[0-9A-Z_]*[0-9A-Z]$"
5757
INTERNAL_MACRO_PATTERN = r"^[0-9A-Za-z_]*[0-9A-Z]$"
5858
CONSTANTS_PATTERN = PUBLIC_MACRO_PATTERN
59-
IDENTIFIER_PATTERN = r"^(mbedtls|psa)_[0-9a-z_]*[0-9a-z]$"
59+
IDENTIFIER_PATTERN = r"^(mbedtls|psa|tf_psa)_[0-9a-z_]*[0-9a-z]$"
6060

6161
class Match(): # pylint: disable=too-few-public-methods
6262
"""

0 commit comments

Comments
 (0)