diff --git a/tests/scripts/test_psa_compliance.py b/tests/scripts/test_psa_compliance.py index 82cc1b1db8..034949bc6b 100755 --- a/tests/scripts/test_psa_compliance.py +++ b/tests/scripts/test_psa_compliance.py @@ -50,9 +50,8 @@ def main(library_build_dir: str): in_tf_psa_crypto_repo = build_tree.looks_like_tf_psa_crypto_root(root_dir) - crypto_name = build_tree.project_crypto_name() - - library_subdir = build_tree.crypto_core_directory() + crypto_name = build_tree.project_crypto_name(root_dir) + library_subdir = build_tree.crypto_core_directory(root_dir) crypto_lib_filename = (library_build_dir + '/' + library_subdir + '/' +