rsa.c: rename getter function of hash_id
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
diff --git a/include/mbedtls/rsa.h b/include/mbedtls/rsa.h
index 7b7c3e8..da8639b 100644
--- a/include/mbedtls/rsa.h
+++ b/include/mbedtls/rsa.h
@@ -201,7 +201,7 @@
* \return Hash identifier of mbedtls_md_type_t type.
*
*/
-int mbedtls_rsa_get_hash_id(const mbedtls_rsa_context *ctx);
+int mbedtls_rsa_get_md_alg(const mbedtls_rsa_context *ctx);
/**
* \brief This function imports a set of core parameters into an