22 #ifndef MBEDTLS_ERROR_H
23 #define MBEDTLS_ERROR_H
25 #if !defined(MBEDTLS_CONFIG_FILE)
28 #include MBEDTLS_CONFIG_FILE
114 #define MBEDTLS_ERR_ERROR_GENERIC_ERROR -0x0001
115 #define MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED -0x006E
Configuration options (set of defines)
void mbedtls_strerror(int errnum, char *buffer, size_t buflen)
Translate a mbed TLS error code into a string representation, Result is truncated if necessary and al...
const char * mbedtls_low_level_strerr(int error_code)
Translate the low-level part of an Mbed TLS error code into a string representation.
const char * mbedtls_high_level_strerr(int error_code)
Translate the high-level part of an Mbed TLS error code into a string representation.