2024-04-10 21:48:14 +00:00
|
|
|
/* $OpenBSD: mem_clr.c,v 1.5 2024/04/10 14:51:02 beck Exp $ */
|
2023-04-30 01:15:27 +00:00
|
|
|
|
|
|
|
/* 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);
|
|
|
|
}
|
2024-04-10 21:48:14 +00:00
|
|
|
LCRYPTO_ALIAS(OPENSSL_cleanse);
|