mbedtls_platform_set_calloc_free() function
This function dynamically sets the memory-management functions used by the library, during runtime.
Syntax
int mbedtls_platform_set_calloc_free(void *(*calloc_func)(size_t, size_t),
void (*free_func)(void *));
Arguments
calloc_func
The \c calloc function implementation.
free_func
The \c free function implementation.
Return value
\c 0.
mbedtls_platform_set_calloc_free() writes 2 variables:
![]()
mbedtls_platform_set_calloc_free()