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