tests: Rename test driver entry points
Rename test driver entry points to
libtestdriver1_<name of the Mbed TLS entry point>.
This aligns with the renaming of all Mbed TLS APIs
for the test driver library (that will be put in place
in the following commits) to avoid name conflicts
when linking it with the Mbed TLS library.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
diff --git a/library/psa_crypto_hash.c b/library/psa_crypto_hash.c
index b9f2757..84ba841 100644
--- a/library/psa_crypto_hash.c
+++ b/library/psa_crypto_hash.c
@@ -648,7 +648,7 @@
}
}
-psa_status_t mbedtls_transparent_test_driver_hash_compute(
+psa_status_t libtestdriver1_mbedtls_psa_hash_compute(
psa_algorithm_t alg,
const uint8_t *input,
size_t input_length,
@@ -663,7 +663,7 @@
return( PSA_ERROR_NOT_SUPPORTED );
}
-psa_status_t mbedtls_transparent_test_driver_hash_setup(
+psa_status_t libtestdriver1_mbedtls_psa_hash_setup(
mbedtls_psa_hash_operation_t *operation,
psa_algorithm_t alg )
{
@@ -673,7 +673,7 @@
return( PSA_ERROR_NOT_SUPPORTED );
}
-psa_status_t mbedtls_transparent_test_driver_hash_clone(
+psa_status_t libtestdriver1_mbedtls_psa_hash_clone(
const mbedtls_psa_hash_operation_t *source_operation,
mbedtls_psa_hash_operation_t *target_operation )
{
@@ -683,7 +683,7 @@
return( PSA_ERROR_BAD_STATE );
}
-psa_status_t mbedtls_transparent_test_driver_hash_update(
+psa_status_t libtestdriver1_mbedtls_psa_hash_update(
mbedtls_psa_hash_operation_t *operation,
const uint8_t *input,
size_t input_length )
@@ -694,7 +694,7 @@
return( PSA_ERROR_BAD_STATE );
}
-psa_status_t mbedtls_transparent_test_driver_hash_finish(
+psa_status_t libtestdriver1_mbedtls_psa_hash_finish(
mbedtls_psa_hash_operation_t *operation,
uint8_t *hash,
size_t hash_size,
@@ -706,7 +706,7 @@
return( PSA_ERROR_BAD_STATE );
}
-psa_status_t mbedtls_transparent_test_driver_hash_abort(
+psa_status_t libtestdriver1_mbedtls_psa_hash_abort(
mbedtls_psa_hash_operation_t *operation )
{
return( hash_abort( operation ) );