Make function calls consistent

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
diff --git a/tests/scripts/test_psa_compliance.py b/tests/scripts/test_psa_compliance.py
index 82cc1b1..034949b 100755
--- a/tests/scripts/test_psa_compliance.py
+++ b/tests/scripts/test_psa_compliance.py
@@ -50,9 +50,8 @@
 
     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 + '/' +