![]() |
mbed TLS
Version 2.8.0
SSL/TLS Library for the Embedded Space
|
Data Structures | |
struct | mbedtls_platform_context |
The platform context structure. More... | |
Macros | |
#define | mbedtls_free free |
#define | mbedtls_calloc calloc |
#define | mbedtls_fprintf fprintf |
#define | mbedtls_printf printf |
#define | mbedtls_snprintf snprintf |
#define | mbedtls_exit exit |
#define | MBEDTLS_EXIT_SUCCESS MBEDTLS_PLATFORM_STD_EXIT_SUCCESS |
#define | MBEDTLS_EXIT_FAILURE MBEDTLS_PLATFORM_STD_EXIT_FAILURE |
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_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... | |
#define | MBEDTLS_PLATFORM_STD_NV_SEED_READ mbedtls_platform_std_nv_seed_read |
#define | MBEDTLS_PLATFORM_STD_NV_SEED_WRITE mbedtls_platform_std_nv_seed_write |
#define | MBEDTLS_PLATFORM_STD_NV_SEED_FILE "seedfile" |
Functions | |
int | mbedtls_platform_setup (mbedtls_platform_context *ctx) |
This function performs any platform initialization operations. More... | |
void | mbedtls_platform_teardown (mbedtls_platform_context *ctx) |
This function performs any platform teardown operations. More... | |
The Mbed TLS platform abstraction layer.
struct mbedtls_platform_context |
#define MBEDTLS_PLATFORM_STD_CALLOC calloc |
The default calloc
function to use.
#define MBEDTLS_PLATFORM_STD_EXIT exit |
The default exit
function to use.
#define MBEDTLS_PLATFORM_STD_EXIT_FAILURE EXIT_FAILURE |
The default exit value to use.
#define MBEDTLS_PLATFORM_STD_EXIT_SUCCESS EXIT_SUCCESS |
The default exit value to use.
#define MBEDTLS_PLATFORM_STD_FPRINTF fprintf |
The default fprintf
function to use.
#define MBEDTLS_PLATFORM_STD_FREE free |
The default free
function to use.
#define MBEDTLS_PLATFORM_STD_PRINTF printf |
The default printf
function to use.
#define MBEDTLS_PLATFORM_STD_SNPRINTF snprintf |
The default snprintf
function to use.
#define MBEDTLS_PLATFORM_STD_TIME time |
The default time
function to use.
int mbedtls_platform_setup | ( | mbedtls_platform_context * | ctx | ) |
This function performs any platform initialization operations.
ctx | The Mbed TLS context. |
0
on success.Its use and whether it is necessary to call it is dependent on the platform.
void mbedtls_platform_teardown | ( | mbedtls_platform_context * | ctx | ) |
This function performs any platform teardown operations.
ctx | The Mbed TLS context. |
Its use and whether it is necessary to call it is dependent on the platform.