Mbed OS Reference
|
This file contains the definitions and functions of the Mbed TLS platform abstraction layer. More...
Go to the source code of this file.
Data Structures | |
struct | mbedtls_platform_context |
The platform context structure. More... | |
Macros | |
#define | MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED -0x0070 |
Hardware accelerator failed. More... | |
#define | MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED -0x0072 |
The requested feature is not supported by the platform. More... | |
SECTION: Module settings | |
The configuration options you can set for this module are in this section. Either change them in config.h or define them on the compiler command line. | |
#define | MBEDTLS_PLATFORM_STD_SNPRINTF snprintf |
The default snprintf function to use. More... | |
#define | MBEDTLS_PLATFORM_STD_VSNPRINTF vsnprintf |
The default vsnprintf function to use. More... | |
#define | MBEDTLS_PLATFORM_STD_PRINTF printf |
The default printf function to use. More... | |
#define | MBEDTLS_PLATFORM_STD_FPRINTF fprintf |
The default fprintf function to use. More... | |
#define | MBEDTLS_PLATFORM_STD_CALLOC calloc |
The default calloc function to use. More... | |
#define | MBEDTLS_PLATFORM_STD_FREE free |
The default free function to use. More... | |
#define | MBEDTLS_PLATFORM_STD_EXIT exit |
The default exit function to use. More... | |
#define | MBEDTLS_PLATFORM_STD_TIME time |
The default time function to use. More... | |
#define | MBEDTLS_PLATFORM_STD_EXIT_SUCCESS EXIT_SUCCESS |
The default exit value to use. More... | |
#define | MBEDTLS_PLATFORM_STD_EXIT_FAILURE EXIT_FAILURE |
The default exit value to use. More... | |
Typedefs | |
typedef struct mbedtls_platform_context | mbedtls_platform_context |
The platform context structure. More... | |
Functions | |
int | mbedtls_platform_setup (mbedtls_platform_context *ctx) |
This function performs any platform-specific initialization operations. More... | |
void | mbedtls_platform_teardown (mbedtls_platform_context *ctx) |
This function performs any platform teardown operations. More... | |
This file contains the definitions and functions of the Mbed TLS platform abstraction layer.
The platform abstraction layer removes the need for the library to directly link to standard C library functions or operating system services, making the library easier to port and embed. Application developers and users of the library can provide their own implementations of these functions, or implementations specific to their platform, which can be statically linked to the library or dynamically configured at runtime.
Definition in file connectivity/mbedtls/include/mbedtls/platform.h.