Move subsection

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2021-06-30 18:56:20 +01:00
parent 507827e75a
commit 715966862d

View File

@ -297,6 +297,19 @@ the `MBEDTLS_MODE_PUBLIC` or `MBEDTLS_MODE_PRIVATE` argument. If you were callin
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.
### Deprecated functions were removed from AES
The functions `mbedtls_aes_encrypt()` and `mbedtls_aes_decrypt()` were
removed.
If you're simply using the AES module, you should be calling the higher-level
functions `mbedtls_aes_crypt_xxx()`.
If you're providing an alternative implementation using
`MBEDTLS_AES_ENCRYPT_ALT` or `MBEDTLS_AES_DECRYPT_ALT`, you should be
replacing the removed functions with `mbedtls_internal_aes_encrypt()` and
`mbedtls_internal_aes_decrypt()` respectively.
## High-level crypto ## High-level crypto
@ -332,19 +345,6 @@ They are already niche or obsolete and most of them are weak or broken. For
those reasons possible users should consider switching to modern and safe those reasons possible users should consider switching to modern and safe
alternatives to be found in literature. alternatives to be found in literature.
### Deprecated functions were removed from AES
The functions `mbedtls_aes_encrypt()` and `mbedtls_aes_decrypt()` were
removed.
If you're simply using the AES module, you should be calling the higher-level
functions `mbedtls_aes_crypt_xxx()`.
If you're providing an alternative implementation using
`MBEDTLS_AES_ENCRYPT_ALT` or `MBEDTLS_AES_DECRYPT_ALT`, you should be
replacing the removed functions with `mbedtls_internal_aes_encrypt()` and
`mbedtls_internal_aes_decrypt()` respectively.
### Deprecated functions were removed from cipher ### Deprecated functions were removed from cipher
The functions `mbedtls_cipher_auth_encrypt()` and The functions `mbedtls_cipher_auth_encrypt()` and