mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-24 15:42:47 +08:00

One of the error codes was already reserved, this commit just makes it explicit. The other one is a new error code for initializing return values in the library: `MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED` should not be returned by the library. If it is returned, then it is surely a bug in the library or somebody is tampering with the device.