fix inappropriate description for function in RSA
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
097147540d
commit
83548b5c10
2 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue