fix inappropriate description for function in RSA
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
diff --git a/include/mbedtls/rsa.h b/include/mbedtls/rsa.h
index ba3a760..7b7c3e8 100644
--- a/include/mbedtls/rsa.h
+++ b/include/mbedtls/rsa.h
@@ -182,7 +182,8 @@
mbedtls_md_type_t hash_id);
/**
- * \brief This function retrieves padding mode of RSA modulus.
+ * \brief This function retrieves padding mode of initialized
+ * RSA context.
*
* \param ctx The initialized RSA context.
*
diff --git a/library/rsa.c b/library/rsa.c
index fc7f3bc..63102d7 100644
--- a/library/rsa.c
+++ b/library/rsa.c
@@ -500,7 +500,7 @@
}
/*
- * Get padding mode of RSA modulus
+ * Get padding mode of initialized RSA context
*/
int mbedtls_rsa_get_padding_mode(const mbedtls_rsa_context *ctx)
{