Overwrite len bytes at ptr with zeros in a way that resists compiler elision.
Declared in <openssl/crypto.h>
void
OPENSSL_cleanse(
void* ptr,
size_t len);
| Name | Description |
|---|---|
| ptr | Buffer to scrub (may be NULL when len is 0). |
| len | Number of bytes to clear. |