Mbed TLS v4.1.1
Toggle main menu visibility
Loading...
Searching...
No Matches
error.h
Go to the documentation of this file.
1
6
/*
7
* Copyright The Mbed TLS Contributors
8
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9
*/
10
#ifndef MBEDTLS_ERROR_H
11
#define MBEDTLS_ERROR_H
12
13
#include "
mbedtls/build_info.h
"
14
#include "mbedtls/private/error_common.h"
// for MBEDTLS_ERROR_ADD + see below
15
// MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED
16
// MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED
17
18
#include <stddef.h>
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
33
void
mbedtls_strerror
(
int
errnum,
char
*buffer,
size_t
buflen);
34
35
#ifdef __cplusplus
36
}
37
#endif
38
39
#endif
/* error.h */
mbedtls_strerror
void mbedtls_strerror(int errnum, char *buffer, size_t buflen)
Translate an Mbed TLS error code into a string representation. The result is truncated if necessary a...
build_info.h
Build-time configuration info.
include
mbedtls
error.h
Generated on
for Mbed TLS v4.1.1 by
1.17.0