fix inappropriate description for function in RSA

Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
Yanray Wang 2023-03-15 16:46:34 +08:00
parent 097147540d
commit 83548b5c10
2 changed files with 3 additions and 2 deletions

View file

@ -182,7 +182,8 @@ int mbedtls_rsa_set_padding(mbedtls_rsa_context *ctx, int padding,
mbedtls_md_type_t hash_id); 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. * \param ctx The initialized RSA context.
* *

View file

@ -500,7 +500,7 @@ int mbedtls_rsa_set_padding(mbedtls_rsa_context *ctx, int padding,
} }
/* /*
* Get padding mode of RSA modulus * Get padding mode of initialized RSA context
*/ */
int mbedtls_rsa_get_padding_mode(const mbedtls_rsa_context *ctx) int mbedtls_rsa_get_padding_mode(const mbedtls_rsa_context *ctx)
{ {