2021-05-21 17:55:03 +02:00
|
|
|
Remove the mode parameter from RSA functions
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
This affects all users who use the RSA encryption, decryption, sign and
|
|
|
|
verify APIs.
|
|
|
|
|
2021-05-25 16:00:19 +02:00
|
|
|
The RSA module no longer supports private-key operations with the public key or
|
|
|
|
vice versa. As a consequence, RSA operation functions no longer have a mode
|
|
|
|
parameter. If you were calling RSA operations with the normal mode (public key
|
|
|
|
for verification or encryption, private key for signature or decryption), remove
|
|
|
|
the `MBEDTLS_MODE_PUBLIC` or `MBEDTLS_MODE_PRIVATE` argument. If you were calling
|
|
|
|
RSA operations with the wrong mode, which rarely makes sense from a security
|
|
|
|
perspective, this is no longer supported.
|
2021-05-21 17:55:03 +02:00
|
|
|
|
2021-05-25 16:00:19 +02:00
|
|
|
Remove the RNG parameter from RSA verify functions
|
|
|
|
--------------------------------------------------
|
|
|
|
|
|
|
|
RSA verification functions also no longer take random generator arguments (this
|
|
|
|
was only needed when using a private key). This affects all applications using
|
|
|
|
the RSA verify functions.
|
2021-05-21 17:55:03 +02:00
|
|
|
|