[#CRYPTO_malloc_fn] = CRYPTO_malloc_fn :mrdocs: Allocator callback type used by CRYPTO_set_mem_functions(). == Synopsis Declared in `<openssl/crypto.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- typedef void*(* CRYPTO_malloc_fn)(size_t, char const*, int); ---- == Return Value Newly allocated memory, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *num* | Number of bytes to allocate. | *file* | Source file recorded with the allocation. | *line* | Source line recorded with the allocation. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#