Add deprecated macros to migration guide
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
parent
745fcde406
commit
016cec17e8
@ -262,12 +262,19 @@ Alternative implementations of the SHA256 and SHA512 modules must adjust their f
|
|||||||
|
|
||||||
### Deprecated error codes for hardware failures were removed
|
### Deprecated error codes for hardware failures were removed
|
||||||
|
|
||||||
- The macros `MBEDTLS_ERR_xxx_FEATURE_UNSUPPORTED` from various crypto modules
|
- The macros `MBEDTLS_ERR_xxx_FEATURE_UNAVAILABLE` from various crypto modules
|
||||||
were removed; `MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED` is now used
|
were removed; `MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED` is now used
|
||||||
instead.
|
instead.
|
||||||
|
- The macro `MBEDTLS_ERR_RSA_UNSUPPORTED_OPERATION` was removed;
|
||||||
|
`MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED` is now used instead.
|
||||||
- The macros `MBEDTLS_ERR_xxx_HW_ACCEL_FAILED` from various crypto modules
|
- The macros `MBEDTLS_ERR_xxx_HW_ACCEL_FAILED` from various crypto modules
|
||||||
were removed; `MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED` is now used instead.
|
were removed; `MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED` is now used instead.
|
||||||
|
|
||||||
|
### Deprecated error codes for invalid input data were removed
|
||||||
|
|
||||||
|
- The macros `MBEDTLS_ERR_xxx_INVALID_KEY_LENGTH` from ARIA and Camellia
|
||||||
|
modules were removed; `MBEDTLS_ERR_xxx_BAD_INPUT_DATA` is now used instead.
|
||||||
|
|
||||||
### Remove the mode parameter from RSA functions
|
### Remove the mode parameter from RSA functions
|
||||||
|
|
||||||
This affects all users who use the RSA encryption, decryption, sign and
|
This affects all users who use the RSA encryption, decryption, sign and
|
||||||
@ -277,7 +284,7 @@ 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
|
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
|
parameter. If you were calling RSA operations with the normal mode (public key
|
||||||
for verification or encryption, private key for signature or decryption), remove
|
for verification or encryption, private key for signature or decryption), remove
|
||||||
the `MBEDTLS_MODE_PUBLIC` or `MBEDTLS_MODE_PRIVATE` argument. If you were calling
|
the `MBEDTLS_RSA_PUBLIC` or `MBEDTLS_RSA_PRIVATE` argument. If you were calling
|
||||||
RSA operations with the wrong mode, which rarely makes sense from a security
|
RSA operations with the wrong mode, which rarely makes sense from a security
|
||||||
perspective, this is no longer supported.
|
perspective, this is no longer supported.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user