From b0be9adb9a52d9fc9bccbb27538fdb0c9fb44478 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Wed, 16 Jul 2025 15:08:58 +0100 Subject: [PATCH] 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 --- scripts/check_names.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_names.py b/scripts/check_names.py index ef48e2ac9..622077155 100755 --- a/scripts/check_names.py +++ b/scripts/check_names.py @@ -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 """