Remove internal functions from setup API
diff --git a/library/platform.c b/library/platform.c
index 2ac67cb..f739f2f 100644
--- a/library/platform.c
+++ b/library/platform.c
@@ -304,21 +304,11 @@
#endif /* MBEDTLS_PLATFORM_NV_SEED_ALT */
#endif /* MBEDTLS_ENTROPY_NV_SEED */
-int mbedtls_platform_setup( mbedtls_platform_context *ctx )
-{
- return( mbedtls_internal_platform_setup( ctx ) );
-}
-
-void mbedtls_platform_teardown( mbedtls_platform_context *ctx )
-{
- mbedtls_internal_platform_teardown( ctx );
-}
-
#if !defined(MBEDTLS_PLATFORM_SETUP_ALT)
/*
- * Placeholder internal platform setup that does nothing by default
+ * Placeholder platform setup that does nothing by default
*/
-int mbedtls_internal_platform_setup( mbedtls_platform_context *ctx )
+int mbedtls_platform_setup( mbedtls_platform_context *ctx )
{
(void)ctx;
@@ -326,9 +316,9 @@
}
/*
- * Placeholder internal platform teardown that does nothing by default
+ * Placeholder platform teardown that does nothing by default
*/
-void mbedtls_internal_platform_teardown( mbedtls_platform_context *ctx )
+void mbedtls_platform_teardown( mbedtls_platform_context *ctx )
{
(void)ctx;
}