rsa.c: rename getter function of hash_id

Signed-off-by: Yanray Wang <yanray.wang@arm.com>
diff --git a/library/rsa.c b/library/rsa.c
index 54585f2..4c678dd 100644
--- a/library/rsa.c
+++ b/library/rsa.c
@@ -510,7 +510,7 @@
 /*
  * Get 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)
 {
     return ctx->hash_id;
 }