283 unsigned char* buf,
unsigned int sz,
int flag,
int max);
void * wolfSSL_Realloc(void *ptr, size_t size, void *heap, int type)
This function is similar to realloc(), but calls the memory re-allocation function which wolfSSL has ...
int wolfSSL_CTX_load_static_memory(WOLFSSL_CTX **ctx, wolfSSL_method_func method, unsigned char *buf, unsigned int sz, int flag, int max)
This function is used to set aside static memory for a CTX. Memory set aside is then used for the CTX...
int wolfSSL_is_static_memory(WOLFSSL *ssl, WOLFSSL_MEM_CONN_STATS *mem_stats)
wolfSSL_is_static_memory is used to gather information about a SSL’s static memory usage....
void * wolfSSL_Malloc(size_t size, void *heap, int type)
This function is similar to malloc(), but calls the memory allocation function which wolfSSL has been...
int wc_LoadStaticMemory(WOLFSSL_HEAP_HINT *hint, unsigned char *buf, unsigned int sz, int flag, int max)
This function is used to set aside static memory for wolfCrypt use. Memory can be used by passing the...
int wolfSSL_MemoryPaddingSz(void)
This function is available when static memory feature is used (–enable-staticmemory)....
int wolfSSL_CTX_is_static_memory(WOLFSSL_CTX *ctx, WOLFSSL_MEM_STATS *mem_stats)
This function does not change any of the connections behavior and is used only for gathering informat...
void wolfSSL_Free(void *ptr, void *heap, int type)
This function is similar to free(), but calls the memory free function which wolfSSL has been configu...
int wolfSSL_StaticBufferSz(byte *buffer, word32 sz, int flag)
This function is available when static memory feature is used (–enable-staticmemory)....
int wolfSSL_SetAllocators(wolfSSL_Malloc_cb, wolfSSL_Free_cb, wolfSSL_Realloc_cb)
This function registers the allocation functions used by wolfSSL. By default, if the system supports ...