Thomas Daubney | 62b0d1d | 2021-05-21 16:55:03 +0100 | [diff] [blame] | 1 | Remove the mode parameter from RSA functions |
| 2 | -------------------------------------------- |
| 3 | |
| 4 | This affects all users who use the RSA encryption, decryption, sign and |
| 5 | verify APIs. |
| 6 | |
Thomas Daubney | 2fbbe1d | 2021-05-24 10:53:57 +0100 | [diff] [blame^] | 7 | You must delete the mode parameter from your RSA function calls. |
| 8 | Using the correct modes are now the default and only behaviour, and this |
| 9 | cannot be changed. If you were using the mode parameter to specify the |
| 10 | wrong mode then this behaviour is no longer supported. For reference the |
| 11 | correct, supported modes are: Public keys for encryption and verification |
| 12 | functions and private keys for decryption and signing functions, but the |
| 13 | user does not have to specify this. |
Thomas Daubney | 62b0d1d | 2021-05-21 16:55:03 +0100 | [diff] [blame] | 14 | |
| 15 | Remove the RNG parameter from RSA functions |
| 16 | -------------------------------------------- |
| 17 | |
| 18 | This affects all users who use the RSA verify functions. |
| 19 | |
| 20 | If you were using the RNG parameters then you must remove |
Thomas Daubney | 2fbbe1d | 2021-05-24 10:53:57 +0100 | [diff] [blame^] | 21 | them from your function calls. Since using the wrong mode |
Thomas Daubney | 62b0d1d | 2021-05-21 16:55:03 +0100 | [diff] [blame] | 22 | is no longer supported, the RNG parameters namely f_rng |
| 23 | and p_rng are no longer needed. |