Replace BAD_SEQUENCE error with BAD_INPUT

Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
This commit is contained in:
Mateusz Starzyk 2021-09-01 13:26:44 +02:00
parent e40ae6bbed
commit 7251eda6ff
3 changed files with 7 additions and 9 deletions

View file

@ -61,8 +61,6 @@
#define MBEDTLS_ERR_CCM_BAD_INPUT -0x000D
/** Authenticated decryption failed. */
#define MBEDTLS_ERR_CCM_AUTH_FAILED -0x000F
/** CCM functions called in the wrong sequence. */
#define MBEDTLS_ERR_CCM_BAD_SEQUENCE -0x0011
#ifdef __cplusplus
extern "C" {