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_mac.c b/library/psa_crypto_mac.c
index 421d12e..fe15e9f 100644
--- a/library/psa_crypto_mac.c
+++ b/library/psa_crypto_mac.c
@@ -585,7 +585,7 @@
}
}
-psa_status_t mbedtls_transparent_test_driver_mac_compute(
+psa_status_t libtestdriver1_mbedtls_psa_mac_compute(
const psa_key_attributes_t *attributes,
const uint8_t *key_buffer,
size_t key_buffer_size,
@@ -604,7 +604,7 @@
return( PSA_ERROR_NOT_SUPPORTED );
}
-psa_status_t mbedtls_transparent_test_driver_mac_sign_setup(
+psa_status_t libtestdriver1_mbedtls_psa_mac_sign_setup(
mbedtls_psa_mac_operation_t *operation,
const psa_key_attributes_t *attributes,
const uint8_t *key_buffer,
@@ -618,7 +618,7 @@
return( PSA_ERROR_NOT_SUPPORTED );
}
-psa_status_t mbedtls_transparent_test_driver_mac_verify_setup(
+psa_status_t libtestdriver1_mbedtls_psa_mac_verify_setup(
mbedtls_psa_mac_operation_t *operation,
const psa_key_attributes_t *attributes,
const uint8_t *key_buffer,
@@ -632,7 +632,7 @@
return( PSA_ERROR_NOT_SUPPORTED );
}
-psa_status_t mbedtls_transparent_test_driver_mac_update(
+psa_status_t libtestdriver1_mbedtls_psa_mac_update(
mbedtls_psa_mac_operation_t *operation,
const uint8_t *input,
size_t input_length )
@@ -643,7 +643,7 @@
return( PSA_ERROR_BAD_STATE );
}
-psa_status_t mbedtls_transparent_test_driver_mac_sign_finish(
+psa_status_t libtestdriver1_mbedtls_psa_mac_sign_finish(
mbedtls_psa_mac_operation_t *operation,
uint8_t *mac,
size_t mac_size,
@@ -655,7 +655,7 @@
return( PSA_ERROR_BAD_STATE );
}
-psa_status_t mbedtls_transparent_test_driver_mac_verify_finish(
+psa_status_t libtestdriver1_mbedtls_psa_mac_verify_finish(
mbedtls_psa_mac_operation_t *operation,
const uint8_t *mac,
size_t mac_length )
@@ -666,7 +666,7 @@
return( PSA_ERROR_BAD_STATE );
}
-psa_status_t mbedtls_transparent_test_driver_mac_abort(
+psa_status_t libtestdriver1_mbedtls_psa_mac_abort(
mbedtls_psa_mac_operation_t *operation )
{
return( mac_abort( operation ) );