Allocate num bytes from the secure heap and zero them.
Declared in <openssl/crypto.h>
void*
CRYPTO_secure_zalloc(
size_t num,
char const* file,
int line);
Pointer to zeroed secure memory, or NULL on failure.
| Name | Description |
|---|---|
| num | Number of bytes to allocate. |
| file | Source file name for allocation tracking (usually OPENSSL_FILE). |
| line | Source line for allocation tracking (usually OPENSSL_LINE). |