Change error code for MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL.

Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
This commit is contained in:
Mateusz Starzyk 2021-10-22 10:33:25 +02:00
parent 33d01ffe60
commit 30bd7fa607
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@
* Module Nr Codes assigned * Module Nr Codes assigned
* ERROR 2 0x006E 0x0001 * ERROR 2 0x006E 0x0001
* MPI 7 0x0002-0x0010 * MPI 7 0x0002-0x0010
* GCM 3 0x0012-0x0014 0x0013-0x0013 * GCM 3 0x0012-0x0016 0x0013-0x0013
* THREADING 3 0x001A-0x001E * THREADING 3 0x001A-0x001E
* AES 5 0x0020-0x0022 0x0021-0x0025 * AES 5 0x0020-0x0022 0x0021-0x0025
* CAMELLIA 3 0x0024-0x0026 0x0027-0x0027 * CAMELLIA 3 0x0024-0x0026 0x0027-0x0027

View file

@ -46,7 +46,7 @@
/** Bad input parameters to function. */ /** Bad input parameters to function. */
#define MBEDTLS_ERR_GCM_BAD_INPUT -0x0014 #define MBEDTLS_ERR_GCM_BAD_INPUT -0x0014
/** An output buffer is too small. */ /** An output buffer is too small. */
#define MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL -0x0018 #define MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL -0x0016
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {