Thomas Daubney | 6f96611 | 2021-05-25 15:00:19 +0100 | [diff] [blame^] | 1 | Removals |
| 2 | * The RSA module no longer supports private-key operations with the public |
| 3 | key and vice versa. This change only affects applications which use the |
| 4 | wrong mode. In this case the wrong mode is to use mode=MBEDTLS_RSA_PUBLIC |
| 5 | with decryption and signing functions and mode=MBEDTLS_RSA_PRIVATE with |
| 6 | encryption and verification functions. Addresses issue #4278. |
Thomas Daubney | 62b0d1d | 2021-05-21 16:55:03 +0100 | [diff] [blame] | 7 | API changes |
| 8 | * Remove mode parameter from RSA functions. All encryption, |
| 9 | decryption, sign and verify functions are affected. Also |
| 10 | removes the RNG parameters from the RSA verify functions. |
| 11 | Existing user code which utilises these RSA functions must |
Thomas Daubney | 6f96611 | 2021-05-25 15:00:19 +0100 | [diff] [blame^] | 12 | remove the mode parameter. |
| 13 | * RNG is now mandatory for all private-key RSA operations. Existing user code |
| 14 | which does not use an RNG with private-key RSA functions must now be |
| 15 | updated to do so. |