Allocator callback type used by CRYPTO_set_mem_functions().
Declared in <openssl/crypto.h>
typedef void*(* CRYPTO_malloc_fn)(size_t, char const*, int);
Newly allocated memory, or NULL on failure.
| Name | Description |
|---|---|
| num | Number of bytes to allocate. |
| file | Source file recorded with the allocation. |
| line | Source line recorded with the allocation. |