blob: 2a849a30c7693fd3282bbbbdc930ccf871bf07d2 [file] [log] [blame] [view]
Thomas Daubney62b0d1d2021-05-21 16:55:03 +01001Remove the mode parameter from RSA functions
2--------------------------------------------
3
4This affects all users who use the RSA encryption, decryption, sign and
5verify APIs.
6
Thomas Daubney2fbbe1d2021-05-24 10:53:57 +01007You must delete the mode parameter from your RSA function calls.
Thomas Daubney3ca92b12021-05-24 14:11:39 +01008Using the correct mode is now the default behaviour. Encryption
9and verification functions are now equivalent to their 2.x
10counterparts with mode=MBEDTLS_RSA_PUBLIC. Decryption and signing
11functions are now equivalent to their 2.x counterparts with
12mode=MBEDTLS_RSA_PRIVATE. Note that the constants
13MBEDTLS_RSA_PUBLIC and MBEDTLS_RSA_PRIVATE have been removed in 3.0.
Thomas Daubney62b0d1d2021-05-21 16:55:03 +010014
15Remove the RNG parameter from RSA functions
16--------------------------------------------
17
18This affects all users who use the RSA verify functions.
19
20If you were using the RNG parameters then you must remove
Thomas Daubney2fbbe1d2021-05-24 10:53:57 +010021them from your function calls. Since using the wrong mode
Thomas Daubney62b0d1d2021-05-21 16:55:03 +010022is no longer supported, the RNG parameters namely f_rng
23and p_rng are no longer needed.