1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Re-wording of Migration guide entry

Commit re-words the migration guide
entry as requested in review.

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney
2021-05-24 14:11:39 +01:00
parent 2fbbe1d2fe
commit 3ca92b182c

View File

@ -5,12 +5,12 @@ This affects all users who use the RSA encryption, decryption, sign and
verify APIs. verify APIs.
You must delete the mode parameter from your RSA function calls. You must delete the mode parameter from your RSA function calls.
Using the correct modes are now the default and only behaviour, and this Using the correct mode is now the default behaviour. Encryption
cannot be changed. If you were using the mode parameter to specify the and verification functions are now equivalent to their 2.x
wrong mode then this behaviour is no longer supported. For reference the counterparts with mode=MBEDTLS_RSA_PUBLIC. Decryption and signing
correct, supported modes are: Public keys for encryption and verification functions are now equivalent to their 2.x counterparts with
functions and private keys for decryption and signing functions, but the mode=MBEDTLS_RSA_PRIVATE. Note that the constants
user does not have to specify this. MBEDTLS_RSA_PUBLIC and MBEDTLS_RSA_PRIVATE have been removed in 3.0.
Remove the RNG parameter from RSA functions Remove the RNG parameter from RSA functions
-------------------------------------------- --------------------------------------------