yuzu/externals/libressl/crypto/mem_clr.c
2020-12-28 15:15:37 +00:00

12 lines
248 B
C
Executable File

/* $OpenBSD: mem_clr.c,v 1.4 2014/06/12 15:49:27 deraadt 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);
}