OPENSSL_CLEANSE(3) Library Functions Manual OPENSSL_CLEANSE(3)

OPENSSL_cleanseOpenSSL memory cleaning operation

#include <openssl/crypto.h>

void
OPENSSL_cleanse(void *ptr, size_t len);

Do not use the interface documented here. It is provided purely for compatibility with legacy application code.

() has the same semantics as, and is a wrapper around, explicit_bzero(3).

crypto(3)

OPENSSL_cleanse() first appeared in OpenSSL 0.9.6h and has been available since OpenBSD 3.4.

June 10, 2019 Linux 6.8.2-arch2-1