OPENSSL_CLEANSE(3)
π NAME π
OPENSSL_cleanse β OpenSSL memory cleaning operation
okay bestie, welcome to OPENSSL_CLEANSE(3) from the Library Functions Manual. yes, the title is right there, weβre doing this β¨
πΈ SYNOPSIS πΈ
library βlibcryptoβ #include <openssl/crypto.h>
void
OPENSSL_cleanse(void *ptr, size_t len);
π DESCRIPTION π
π¨ real talk: do not use the interface documented here. It is provided purely for compatibility with legacy application code. no cap, thatβs the whole vibe.
OPENSSL_cleanse() has the same semantics as, and is a wrapper around, explicit_bzero(3). literally the same behavior, just wrapped up cute π
π¦ SEE ALSO π¦
π HISTORY π
OPENSSL_cleanse() first appeared in OpenSSL 0.9.6h and has been available since OpenBSD 3.4. iconic timeline behavior π
cute sign-off: this page is from Debian, dated June 8, 2025, and itβs serving OPENSSL_CLEANSE(3) from the Library Functions Manual π«Άπ
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms