Merge pull request #202 from amtkarm1/check-names-mbedtls-fix

Add private headers to check_names.py for the mbedtls main repository
This commit is contained in:
Manuel Pégourié-Gonnard
2025-08-29 11:18:51 +02:00
committed by GitHub
+4
View File
@@ -903,6 +903,7 @@ class MBEDTLSCodeParser(CodeParser):
all_macros = {"public": [], "internal": [], "private":[]}
all_macros["public"] = self.parse_macros([
"include/mbedtls/*.h",
"include/mbedtls/private/*.h",
])
all_macros["internal"] = self.parse_macros([
"library/*.h",
@@ -913,15 +914,18 @@ class MBEDTLSCodeParser(CodeParser):
])
enum_consts = self.parse_enum_consts([
"include/mbedtls/*.h",
"include/mbedtls/private/*.h",
"library/*.h",
"library/*.c",
])
identifiers, excluded_identifiers = self.parse_identifiers([
"include/mbedtls/*.h",
"include/mbedtls/private/*.h",
"library/*.h",
])
mbed_psa_words = self.parse_mbed_psa_words([
"include/mbedtls/*.h",
"include/mbedtls/private/*.h",
"library/*.h",
"library/*.c",
])