From bf36088bd373fe5dbe56fb5d05d25af35a56a175 Mon Sep 17 00:00:00 2001 From: Felix Conway Date: Wed, 9 Apr 2025 10:24:07 +0100 Subject: [PATCH] Adjust scripts to accommodate public header move Signed-off-by: Felix Conway --- scripts/check-doxy-blocks.pl | 1 + scripts/check_names.py | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/scripts/check-doxy-blocks.pl b/scripts/check-doxy-blocks.pl index aa121b6fb..eef307712 100755 --- a/scripts/check-doxy-blocks.pl +++ b/scripts/check-doxy-blocks.pl @@ -18,6 +18,7 @@ # C/header files in the following directories will be checked my @mbedtls_directories = qw(include/mbedtls library doxygen/input); my @tf_psa_crypto_directories = qw(include/psa include/tf-psa-crypto + include/mbedtls drivers/builtin/include/mbedtls drivers/builtin/src core doxygen/input); diff --git a/scripts/check_names.py b/scripts/check_names.py index 0f5427574..77c91c2b5 100755 --- a/scripts/check_names.py +++ b/scripts/check_names.py @@ -701,6 +701,7 @@ def comprehensive_parse(self): all_macros["public"] = self.parse_macros([ "include/psa/*.h", "include/tf-psa-crypto/*.h", + "include/mbedtls/*.h", "drivers/builtin/include/mbedtls/*.h", "drivers/everest/include/everest/everest.h", "drivers/everest/include/everest/x25519.h" @@ -717,6 +718,7 @@ def comprehensive_parse(self): enum_consts = self.parse_enum_consts([ "include/psa/*.h", "include/tf-psa-crypto/*.h", + "include/mbedtls/*.h", "drivers/builtin/include/mbedtls/*.h", "core/*.h", "drivers/builtin/src/*.h", @@ -728,6 +730,7 @@ def comprehensive_parse(self): identifiers, excluded_identifiers = self.parse_identifiers([ "include/psa/*.h", "include/tf-psa-crypto/*.h", + "include/mbedtls/*.h", "drivers/builtin/include/mbedtls/*.h", "core/*.h", "drivers/builtin/src/*.h", @@ -737,6 +740,7 @@ def comprehensive_parse(self): mbed_psa_words = self.parse_mbed_psa_words([ "include/psa/*.h", "include/tf-psa-crypto/*.h", + "include/mbedtls/*.h", "drivers/builtin/include/mbedtls/*.h", "core/*.h", "drivers/builtin/src/*.h",