Remove deprecated error codes. Some still remain - question asked in issue comment

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
TRodziewicz 2021-04-12 23:28:23 +02:00
parent e483a77c85
commit dd82502b56
30 changed files with 6 additions and 251 deletions

View file

@ -62,6 +62,8 @@
#define MBEDTLS_ERR_CIPHER_AUTH_FAILED -0x6300 /**< Authentication failed (for AEAD modes). */
#define MBEDTLS_ERR_CIPHER_INVALID_CONTEXT -0x6380 /**< The context is invalid. For example, because it was freed. */
// TODO [TR] for #4029: can't remove it because it's still used in the code.
// see other TODOS
/* MBEDTLS_ERR_CIPHER_HW_ACCEL_FAILED is deprecated and should not be used. */
#define MBEDTLS_ERR_CIPHER_HW_ACCEL_FAILED -0x6400 /**< Cipher hardware accelerator failed. */