mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-27 23:37:08 +00:00
Adapt check_names.py
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
b2bdb78596
commit
6921d547b6
@ -245,10 +245,14 @@ class CodeParser():
|
|||||||
])
|
])
|
||||||
all_macros["internal"] = self.parse_macros([
|
all_macros["internal"] = self.parse_macros([
|
||||||
"library/*.h",
|
"library/*.h",
|
||||||
|
"tf-psa-crypto/core/*.h",
|
||||||
|
"tf-psa-crypto/drivers/builtin/src/*.h",
|
||||||
"tests/include/test/drivers/*.h",
|
"tests/include/test/drivers/*.h",
|
||||||
])
|
])
|
||||||
all_macros["private"] = self.parse_macros([
|
all_macros["private"] = self.parse_macros([
|
||||||
"library/*.c",
|
"library/*.c",
|
||||||
|
"tf-psa-crypto/core/*.c",
|
||||||
|
"tf-psa-crypto/drivers/builtin/src/*.c",
|
||||||
])
|
])
|
||||||
enum_consts = self.parse_enum_consts([
|
enum_consts = self.parse_enum_consts([
|
||||||
"include/mbedtls/*.h",
|
"include/mbedtls/*.h",
|
||||||
@ -256,7 +260,11 @@ class CodeParser():
|
|||||||
"tf-psa-crypto/include/psa/*.h",
|
"tf-psa-crypto/include/psa/*.h",
|
||||||
"tf-psa-crypto/drivers/builtin/include/mbedtls/*.h",
|
"tf-psa-crypto/drivers/builtin/include/mbedtls/*.h",
|
||||||
"library/*.h",
|
"library/*.h",
|
||||||
|
"tf-psa-crypto/core/*.h",
|
||||||
|
"tf-psa-crypto/drivers/builtin/src/*.h",
|
||||||
"library/*.c",
|
"library/*.c",
|
||||||
|
"tf-psa-crypto/core/*.c",
|
||||||
|
"tf-psa-crypto/drivers/builtin/src/*.c",
|
||||||
"3rdparty/everest/include/everest/everest.h",
|
"3rdparty/everest/include/everest/everest.h",
|
||||||
"3rdparty/everest/include/everest/x25519.h"
|
"3rdparty/everest/include/everest/x25519.h"
|
||||||
])
|
])
|
||||||
@ -266,6 +274,8 @@ class CodeParser():
|
|||||||
"tf-psa-crypto/include/psa/*.h",
|
"tf-psa-crypto/include/psa/*.h",
|
||||||
"tf-psa-crypto/drivers/builtin/include/mbedtls/*.h",
|
"tf-psa-crypto/drivers/builtin/include/mbedtls/*.h",
|
||||||
"library/*.h",
|
"library/*.h",
|
||||||
|
"tf-psa-crypto/core/*.h",
|
||||||
|
"tf-psa-crypto/drivers/builtin/src/*.h",
|
||||||
"3rdparty/everest/include/everest/everest.h",
|
"3rdparty/everest/include/everest/everest.h",
|
||||||
"3rdparty/everest/include/everest/x25519.h"
|
"3rdparty/everest/include/everest/x25519.h"
|
||||||
], ["3rdparty/p256-m/p256-m/p256-m.h"])
|
], ["3rdparty/p256-m/p256-m/p256-m.h"])
|
||||||
@ -275,12 +285,16 @@ class CodeParser():
|
|||||||
"tf-psa-crypto/include/psa/*.h",
|
"tf-psa-crypto/include/psa/*.h",
|
||||||
"tf-psa-crypto/drivers/builtin/include/mbedtls/*.h",
|
"tf-psa-crypto/drivers/builtin/include/mbedtls/*.h",
|
||||||
"library/*.h",
|
"library/*.h",
|
||||||
|
"tf-psa-crypto/core/*.h",
|
||||||
|
"tf-psa-crypto/drivers/builtin/src/*.h",
|
||||||
"3rdparty/everest/include/everest/everest.h",
|
"3rdparty/everest/include/everest/everest.h",
|
||||||
"3rdparty/everest/include/everest/x25519.h",
|
"3rdparty/everest/include/everest/x25519.h",
|
||||||
"library/*.c",
|
"library/*.c",
|
||||||
|
"tf-psa-crypto/core/*.c",
|
||||||
|
"tf-psa-crypto/drivers/builtin/src/*.c",
|
||||||
"3rdparty/everest/library/everest.c",
|
"3rdparty/everest/library/everest.c",
|
||||||
"3rdparty/everest/library/x25519.c"
|
"3rdparty/everest/library/x25519.c"
|
||||||
], ["library/psa_crypto_driver_wrappers.h"])
|
], ["tf-psa-crypto/core/psa_crypto_driver_wrappers.h"])
|
||||||
symbols = self.parse_symbols()
|
symbols = self.parse_symbols()
|
||||||
|
|
||||||
# Remove identifier macros like mbedtls_printf or mbedtls_calloc
|
# Remove identifier macros like mbedtls_printf or mbedtls_calloc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user