f36e41e20b
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.
15 lines
228 B
C
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);
|
|
}
|