mbed TLS v3.1.0
platform_time.h File Reference

mbed TLS Platform time abstraction More...

#include "mbedtls/build_info.h"
#include <time.h>
Include dependency graph for platform_time.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

SECTION: Module settings

The configuration options you can set for this module are in this section. Either change them in mbedtls_config.h or define them on the compiler command line.

typedef time_t mbedtls_time_t
 
mbedtls_time_t(* mbedtls_time )(mbedtls_time_t *time)
 
int mbedtls_platform_set_time (mbedtls_time_t(*time_func)(mbedtls_time_t *time))
 Set your own time function pointer. More...
 

Detailed Description

mbed TLS Platform time abstraction

Definition in file platform_time.h.

Typedef Documentation

typedef time_t mbedtls_time_t

Definition at line 47 of file platform_time.h.

Function Documentation

int mbedtls_platform_set_time ( mbedtls_time_t(*)(mbedtls_time_t *time)  time_func)

Set your own time function pointer.

Parameters
time_functhe time function implementation
Returns
0

Variable Documentation

mbedtls_time_t(* mbedtls_time)(mbedtls_time_t *time)