Allocate num bytes from the secure heap (after CRYPTO_secure_malloc_init()).
Synopsis
Declared in <openssl/crypto.h>
void*
CRYPTO_secure_malloc(
size_t num,
char const* file,
int line);
Return Value
Secure allocation, or NULL on failure.
Parameters
Name |
Description |
num |
Number of bytes to allocate. |
file |
Source file for tracking (usually OPENSSL_FILE). |
line |
Source line for tracking (usually OPENSSL_LINE). |
Created with MrDocs