My Project
memory.h
Go to the documentation of this file.
1 
32 void* wolfSSL_Malloc(size_t size, void* heap, int type);
33 
68 void wolfSSL_Free(void *ptr, void* heap, int type);
69 
104 void* wolfSSL_Realloc(void *ptr, size_t size, void* heap, int type);
105 
151 int wolfSSL_SetAllocators(wolfSSL_Malloc_cb,
152  wolfSSL_Free_cb,
153  wolfSSL_Realloc_cb);
154 
187 int wolfSSL_StaticBufferSz(byte* buffer, word32 sz, int flag);
188 
219 int wolfSSL_MemoryPaddingSz(void);
wolfSSL_Free
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...
wolfSSL_Malloc
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...
wolfSSL_Realloc
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 ...
wolfSSL_SetAllocators
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 ...
wolfSSL_StaticBufferSz
int wolfSSL_StaticBufferSz(byte *buffer, word32 sz, int flag)
This function is available when static memory feature is used (–enable-staticmemory)....
wolfSSL_MemoryPaddingSz
int wolfSSL_MemoryPaddingSz(void)
This function is available when static memory feature is used (–enable-staticmemory)....