|
| WOLFSSL_API void * | wolfSSL_Malloc (size_t size, void *heap, int type, const char *func, unsigned int line) |
| | This function calls the custom malloc function, if one has been defined, or simply calls the default C malloc function if no custom function exists. It is not called directly by wolfSSL, but instead generally called by using XMALLOC, which may be replaced by wolfSSL_Malloc during preprocessing. More...
|
| |
| WOLFSSL_API void | wolfSSL_Free (void *ptr, void *heap, int type, const char *func, unsigned int line) |
| | This function calls a custom free function, if one has been defined, or simply calls the default C free function if no custom function exists. It is not called directly by wolfSSL, but instead generally called by using XFREE, which may be replaced by wolfSSL_Free during preprocessing. More...
|
| |
| WOLFSSL_API void * | wolfSSL_Realloc (void *ptr, size_t size, void *heap, int type, const char *func, unsigned int line) |
| | This function calls a custom realloc function, if one has been defined, or simply calls the default C realloc function if no custom function exists. It is not called directly by wolfSSL, but instead generally called by using XREALLOC, which may be replaced by wolfSSL_Realloc during preprocessing. More...
|
| |
|
WOLFSSL_API void * | wolfSSL_Malloc (size_t size, void *heap, int type) |
| |
|
WOLFSSL_API void | wolfSSL_Free (void *ptr, void *heap, int type) |
| |
|
WOLFSSL_API void * | wolfSSL_Realloc (void *ptr, size_t size, void *heap, int type) |
| |
|
WOLFSSL_API void * | wolfSSL_Malloc (size_t size, const char *func, unsigned int line) |
| |
| WOLFSSL_API void | wolfSSL_Free (void *ptr, const char *func, unsigned int line) |
| | This function is similar to free(), but calls the memory free function which wolfSSL has been configured to use. By default, wolfSSL uses free(). This can be changed using the wolfSSL memory abstraction layer - see wolfSSL_SetAllocators(). More...
|
| |
|
WOLFSSL_API void * | wolfSSL_Realloc (void *ptr, size_t size, const char *func, unsigned int line) |
| |
|
WOLFSSL_API void * | wolfSSL_Malloc (size_t size) |
| |
|
WOLFSSL_API void | wolfSSL_Free (void *ptr) |
| |
|
WOLFSSL_API void * | wolfSSL_Realloc (void *ptr, size_t size) |
| |
| WOLFSSL_API 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 it, malloc/free and realloc are used. Using this function allows the user at runtime to install their own memory handlers. More...
|
| |
|
WOLFSSL_API int | wolfSSL_GetAllocators (wolfSSL_Malloc_cb *, wolfSSL_Free_cb *, wolfSSL_Realloc_cb *) |
| |
|
WOLFSSL_API int | wc_LoadStaticMemory (WOLFSSL_HEAP_HINT **pHint, unsigned char *buf, unsigned int sz, int flag, int max) |
| |
|
WOLFSSL_LOCAL int | wolfSSL_init_memory_heap (WOLFSSL_HEAP *heap) |
| |
|
WOLFSSL_LOCAL int | wolfSSL_load_static_memory (byte *buffer, word32 sz, int flag, WOLFSSL_HEAP *heap) |
| |
|
WOLFSSL_LOCAL int | wolfSSL_GetMemStats (WOLFSSL_HEAP *heap, WOLFSSL_MEM_STATS *stats) |
| |
|
WOLFSSL_LOCAL int | SetFixedIO (WOLFSSL_HEAP *heap, wc_Memory **io) |
| |
|
WOLFSSL_LOCAL int | FreeFixedIO (WOLFSSL_HEAP *heap, wc_Memory **io) |
| |
| WOLFSSL_API int | wolfSSL_StaticBufferSz (byte *buffer, word32 sz, int flag) |
| | This function is available when static memory feature is used (–enable-staticmemory). It gives the optimum buffer size for memory “buckets”. This allows for a way to compute buffer size so that no extra unused memory is left at the end after it has been partitioned. The returned value, if positive, is the computed buffer size to use. More...
|
| |
| WOLFSSL_API int | wolfSSL_MemoryPaddingSz (void) |
| | This function is available when static memory feature is used (–enable-staticmemory). It gives the size of padding needed for each partition of memory. This padding size will be the size needed to contain a memory management structure along with any extra for memory alignment. More...
|
| |
|
WOLFSSL_API void | __attribute__ ((no_instrument_function)) __cyg_profile_func_enter(void *func |
| |