mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-14 17:47:46 -04:00
Adding correction to documentation
As picked up in review, this commit modifies the documentation by removing some wording that is now superfluous given the removal of the mode parameter. Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
3473308b5d
commit
0fdd8d297a
@ -714,11 +714,6 @@ int mbedtls_rsa_rsaes_oaep_encrypt( mbedtls_rsa_context *ctx,
|
|||||||
* hold the decryption of the particular ciphertext provided,
|
* hold the decryption of the particular ciphertext provided,
|
||||||
* the function returns \c MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE.
|
* the function returns \c MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE.
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* \note Alternative implementations of RSA need not support
|
|
||||||
* mode being set to #MBEDTLS_RSA_PUBLIC and might instead
|
|
||||||
* return #MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED.
|
|
||||||
*
|
|
||||||
* \param ctx The initialized RSA context to use.
|
* \param ctx The initialized RSA context to use.
|
||||||
* \param f_rng The RNG function. This is used for blinding and should
|
* \param f_rng The RNG function. This is used for blinding and should
|
||||||
* be provided; see mbedtls_rsa_private() for more.
|
* be provided; see mbedtls_rsa_private() for more.
|
||||||
@ -755,10 +750,6 @@ int mbedtls_rsa_pkcs1_decrypt( mbedtls_rsa_context *ctx,
|
|||||||
* hold the decryption of the particular ciphertext provided,
|
* hold the decryption of the particular ciphertext provided,
|
||||||
* the function returns #MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE.
|
* the function returns #MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE.
|
||||||
*
|
*
|
||||||
* \note Alternative implementations of RSA need not support
|
|
||||||
* mode being set to #MBEDTLS_RSA_PUBLIC and might instead
|
|
||||||
* return #MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED.
|
|
||||||
*
|
|
||||||
* \param ctx The initialized RSA context to use.
|
* \param ctx The initialized RSA context to use.
|
||||||
* \param f_rng The RNG function. This is used for blinding and should
|
* \param f_rng The RNG function. This is used for blinding and should
|
||||||
* be provided; see mbedtls_rsa_private() for more.
|
* be provided; see mbedtls_rsa_private() for more.
|
||||||
@ -797,10 +788,6 @@ int mbedtls_rsa_rsaes_pkcs1_v15_decrypt( mbedtls_rsa_context *ctx,
|
|||||||
* ciphertext provided, the function returns
|
* ciphertext provided, the function returns
|
||||||
* #MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE.
|
* #MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE.
|
||||||
*
|
*
|
||||||
* \note Alternative implementations of RSA need not support
|
|
||||||
* mode being set to #MBEDTLS_RSA_PUBLIC and might instead
|
|
||||||
* return #MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED.
|
|
||||||
*
|
|
||||||
* \param ctx The initialized RSA context to use.
|
* \param ctx The initialized RSA context to use.
|
||||||
* \param f_rng The RNG function. This is used for blinding and should
|
* \param f_rng The RNG function. This is used for blinding and should
|
||||||
* be provided; see mbedtls_rsa_private() for more.
|
* be provided; see mbedtls_rsa_private() for more.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user