Securely clear num bytes at ptr and free the allocation.
Declared in <openssl/crypto.h>
void
CRYPTO_clear_free(
void* ptr,
size_t num,
char const* file,
int line);
| Name | Description |
|---|---|
| ptr | Memory to clear and free, or NULL. |
| num | Number of bytes at ptr to zero before freeing. |
| file | Source file name for tracking (usually FILE). |
| line | Source line for tracking (usually LINE). |