blob: a936dcc5b82149c2b37798711e298d7d3310cfaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* $OpenBSD: mem_clr.c,v 1.5 2024/04/10 14:51:02 beck Exp $ */
/* Ted Unangst places this file in the public domain. */
#include <string.h>
#include <openssl/crypto.h>
void
OPENSSL_cleanse(void *ptr, size_t len)
{
explicit_bzero(ptr, len);
}
LCRYPTO_ALIAS(OPENSSL_cleanse);
|