Rename libpsa to libpsats
Instead of using a generic name for the library, give it a TS specific
name to avoid possible naming collisions with other psa libraries in
the future.
Change-Id: Icea9be4d836f7d22300b20c8d6a5f8bd8fae1133
Signed-off-by: Gabor Toth <gabor.toth2@arm.com>
diff --git a/deployments/ts-demo/ts-demo.c b/deployments/ts-demo/ts-demo.c
index c7ef52b..5efce9f 100644
--- a/deployments/ts-demo/ts-demo.c
+++ b/deployments/ts-demo/ts-demo.c
@@ -9,7 +9,7 @@
#include <string.h>
#include <unistd.h>
-#include "libpsa.h"
+#include "libpsats.h"
int main(int argc, char *argv[])
{
@@ -19,16 +19,16 @@
if (argc > 1)
service_name = argv[1];
- psa_status = libpsa_init_crypto_context(service_name);
+ psa_status = libpsats_init_crypto_context(service_name);
if (psa_status) {
- printf("libpsa_init_crypto_context failed: %d\n", psa_status);
+ printf("libpsats_init_crypto_context failed: %d\n", psa_status);
return psa_status;
}
psa_status = run_ts_demo(true);
- libpsa_deinit_its_context();
+ libpsats_deinit_its_context();
if (psa_status)
printf("\n*** ts-demo failed ***\n\n");
diff --git a/deployments/ts-demo/ts-demo.cmake b/deployments/ts-demo/ts-demo.cmake
index 2d39042..b663fb6 100644
--- a/deployments/ts-demo/ts-demo.cmake
+++ b/deployments/ts-demo/ts-demo.cmake
@@ -12,16 +12,16 @@
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
-# Use libpsa for locating PSA services. An appropriate version of
-# libpsa will be imported for the environment.
+# Use libpsats for locating PSA services. An appropriate version of
+# libpsats will be imported for the environment.
#-------------------------------------------------------------------------------
if (COVERAGE)
- set(LIBPSA_BUILD_TYPE "DEBUGCOVERAGE" CACHE STRING "Libpsa build type" FORCE)
+ set(LIBPSATS_BUILD_TYPE "DEBUGCOVERAGE" CACHE STRING "Libpsats build type" FORCE)
set(LIBTS_BUILD_TYPE "DEBUGCOVERAGE" CACHE STRING "Libts build type" FORCE)
endif()
-include(${TS_ROOT}/deployments/libpsa/libpsa-import.cmake)
-target_link_libraries(ts-demo PRIVATE libpsa::psa)
+include(${TS_ROOT}/deployments/libpsats/libpsats-import.cmake)
+target_link_libraries(ts-demo PRIVATE libpsats::psats)
#-------------------------------------------------------------------------------
# Common main for all deployments