freebsd-skq/sys/crypto/libsodium/utils.c
Conrad Meyer f36e41e20b Bring in compatibility glue for libsodium
The idea is untouched upstream sources live in sys/contrib/libsodium.

sys/crypto/libsodium are support routines or compatibility headers to allow
building unmodified upstream code.

This is not yet integrated into the build system, so no functional change.
2018-08-17 00:27:56 +00:00

15 lines
228 B
C

/* This file is in the public domain. */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/systm.h>
#include <sodium/utils.h>
void
sodium_memzero(void *b, size_t n)
{
explicit_bzero(b, n);
}