From 95367dbdf1d74d8ae53fa83b3fbe74bf1735dbe2 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 2 Mar 2026 13:44:47 +0100 Subject: [PATCH] Remove temporary code from the tf-psa-crypto split Signed-off-by: Gilles Peskine --- scripts/mbedtls_framework/code_wrapper/psa_wrapper.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/mbedtls_framework/code_wrapper/psa_wrapper.py b/scripts/mbedtls_framework/code_wrapper/psa_wrapper.py index 4156cc12f..53ab2f5af 100644 --- a/scripts/mbedtls_framework/code_wrapper/psa_wrapper.py +++ b/scripts/mbedtls_framework/code_wrapper/psa_wrapper.py @@ -109,14 +109,6 @@ class PSAWrapper(c_wrapper_generator.Base): Currently the default is set to project_root/include/psa.""" if path_list is None: path_list = ['include', 'psa'] - # Temporary, while Mbed TLS does not just rely on the TF-PSA-Crypto - # build system to build its crypto library. When it does, the first - # case can just be removed. - if build_tree.looks_like_mbedtls_root(self.project_root) and \ - not build_tree.is_mbedtls_3_6(): - path_list = ['tf-psa-crypto'] + path_list - return os.path.join(self.project_root, *path_list, filename) - return os.path.join(self.project_root, *path_list, filename) # Utility Methods