Extend scope of ERR_RSA_UNSUPPORTED_OPERATION error code

This commit is contained in:
Hanno Becker 2017-10-05 11:49:53 +01:00
parent f8b56d4e41
commit bc389d1d3c
2 changed files with 4 additions and 2 deletions

View file

@ -48,7 +48,8 @@
#define MBEDTLS_ERR_RSA_VERIFY_FAILED -0x4380 /**< The PKCS#1 verification failed. */
#define MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE -0x4400 /**< The output buffer for decryption is not large enough. */
#define MBEDTLS_ERR_RSA_RNG_FAILED -0x4480 /**< The random generator failed to generate non-zeros. */
#define MBEDTLS_ERR_RSA_UNSUPPORTED_OPERATION -0x4500 /**< The implementation doesn't provide the requested operation. */
#define MBEDTLS_ERR_RSA_UNSUPPORTED_OPERATION -0x4500 /**< The implementation doesn't offer the requested operation,
e.g. because of security violations or lack of functionality */
/*
* RSA constants