Rename project_crypto_name

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney 2023-11-30 13:56:09 +00:00
parent e8f3789312
commit 08c6dc4942
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ def crypto_core_directory(root: Optional[str] = None) -> str:
else:
raise Exception('Neither Mbed TLS nor TF-PSA-Crypto source tree found')
def project_crypto_name(root: Optional[str] = None) -> str:
def crypto_library_filename(root: Optional[str] = None) -> str:
"""Return the crypto library filename for either TF-PSA-Crypto or Mbed TLS."""
if root is None:
root = guess_project_root()

View file

@ -50,7 +50,7 @@ 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(root_dir)
crypto_name = build_tree.crypto_library_filename(root_dir)
library_subdir = build_tree.crypto_core_directory(root_dir)
crypto_lib_filename = (library_build_dir + '/' +