Mbed OS Reference
Loading...
Searching...
No Matches
connectivity/mbedtls/include/mbedtls/error.h File Reference

Error to string translation. More...

#include "mbedtls/config.h"
#include <stddef.h>

Go to the source code of this file.

Macros

#define MBEDTLS_ERR_ERROR_GENERIC_ERROR   -0x0001
 Generic error. More...
 
#define MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED   -0x006E
 This is a bug in the library. More...
 

Functions

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 always includes a terminating null byte. More...
 
const char * mbedtls_high_level_strerr (int error_code)
 Translate the high-level part of an Mbed TLS error code into a string representation. More...
 
const char * mbedtls_low_level_strerr (int error_code)
 Translate the low-level part of an Mbed TLS error code into a string representation. More...
 

Detailed Description

Error to string translation.

Definition in file connectivity/mbedtls/include/mbedtls/error.h.