Index: head/sys/crypto/libsodium/limits.h =================================================================== --- head/sys/crypto/libsodium/limits.h (nonexistent) +++ head/sys/crypto/libsodium/limits.h (revision 337938) @@ -0,0 +1,3 @@ +/* This file is in the public domain */ +/* $FreeBSD$ */ +#include Property changes on: head/sys/crypto/libsodium/limits.h ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sys/crypto/libsodium/randombytes.c =================================================================== --- head/sys/crypto/libsodium/randombytes.c (nonexistent) +++ head/sys/crypto/libsodium/randombytes.c (revision 337938) @@ -0,0 +1,13 @@ +/* This file is in the public domain. */ + +#include +__FBSDID("$FreeBSD$"); +#include + +#include + +void +randombytes_buf(void *buf, size_t size) +{ + arc4random_buf(buf, size); +} Property changes on: head/sys/crypto/libsodium/randombytes.c ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sys/crypto/libsodium/stddef.h =================================================================== --- head/sys/crypto/libsodium/stddef.h (nonexistent) +++ head/sys/crypto/libsodium/stddef.h (revision 337938) @@ -0,0 +1,3 @@ +/* This file is in the public domain */ +/* $FreeBSD$ */ +#include Property changes on: head/sys/crypto/libsodium/stddef.h ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sys/crypto/libsodium/stdint.h =================================================================== --- head/sys/crypto/libsodium/stdint.h (nonexistent) +++ head/sys/crypto/libsodium/stdint.h (revision 337938) @@ -0,0 +1,3 @@ +/* This file is in the public domain */ +/* $FreeBSD$ */ +#include Property changes on: head/sys/crypto/libsodium/stdint.h ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sys/crypto/libsodium/stdio.h =================================================================== --- head/sys/crypto/libsodium/stdio.h (nonexistent) +++ head/sys/crypto/libsodium/stdio.h (revision 337938) @@ -0,0 +1,2 @@ +/* This file is in the public domain */ +/* $FreeBSD$ */ Property changes on: head/sys/crypto/libsodium/stdio.h ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sys/crypto/libsodium/stdlib.h =================================================================== --- head/sys/crypto/libsodium/stdlib.h (nonexistent) +++ head/sys/crypto/libsodium/stdlib.h (revision 337938) @@ -0,0 +1,2 @@ +/* This file is in the public domain */ +/* $FreeBSD$ */ Property changes on: head/sys/crypto/libsodium/stdlib.h ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sys/crypto/libsodium/string.h =================================================================== --- head/sys/crypto/libsodium/string.h (nonexistent) +++ head/sys/crypto/libsodium/string.h (revision 337938) @@ -0,0 +1,2 @@ +/* This file is in the public domain */ +/* $FreeBSD$ */ Property changes on: head/sys/crypto/libsodium/string.h ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sys/crypto/libsodium/utils.c =================================================================== --- head/sys/crypto/libsodium/utils.c (nonexistent) +++ head/sys/crypto/libsodium/utils.c (revision 337938) @@ -0,0 +1,14 @@ +/* This file is in the public domain. */ + +#include +__FBSDID("$FreeBSD$"); +#include +#include + +#include + +void +sodium_memzero(void *b, size_t n) +{ + explicit_bzero(b, n); +} Property changes on: head/sys/crypto/libsodium/utils.c ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property