From b60dc2d21e96af4d04a77082283287f44e44f382 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 7 Feb 2018 08:03:51 -0500 Subject: [PATCH] Shift errors Move errors from pk.h so that they have a gap for the current development error codes --- include/mbedtls/pk.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mbedtls/pk.h b/include/mbedtls/pk.h index 0396ea85f..c92e10a40 100644 --- a/include/mbedtls/pk.h +++ b/include/mbedtls/pk.h @@ -66,9 +66,9 @@ #define MBEDTLS_ERR_PK_UNKNOWN_NAMED_CURVE -0x3A00 /**< Elliptic curve is unsupported (only NIST curves are supported). */ #define MBEDTLS_ERR_PK_FEATURE_UNAVAILABLE -0x3980 /**< Unavailable feature, e.g. RSA disabled for RSA key. */ #define MBEDTLS_ERR_PK_SIG_LEN_MISMATCH -0x3900 /**< The signature is valid but its length is less than expected. */ -#define MBEDTLS_ERR_PK_INVALID_SIGNATURE -0x3880 /**< Invalid signature */ -#define MBEDTLS_ERR_PK_BUFFER_TOO_SMALL -0x3800 /**< Output buffer too small */ -#define MBEDTLS_ERR_PK_NOT_PERMITTED -0x3780 /**< Operation not permitted */ +#define MBEDTLS_ERR_PK_INVALID_SIGNATURE -0x3800 /**< Invalid signature */ +#define MBEDTLS_ERR_PK_BUFFER_TOO_SMALL -0x3780 /**< Output buffer too small */ +#define MBEDTLS_ERR_PK_NOT_PERMITTED -0x3700 /**< Operation not permitted */ /**@}*/