diff --git a/include/mbedtls/rsa.h b/include/mbedtls/rsa.h index ba3a7605dd..7b7c3e864c 100644 --- a/include/mbedtls/rsa.h +++ b/include/mbedtls/rsa.h @@ -182,7 +182,8 @@ int mbedtls_rsa_set_padding(mbedtls_rsa_context *ctx, int padding, 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 fc7f3bc272..63102d7a0e 100644 --- a/library/rsa.c +++ b/library/rsa.c @@ -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) {