repo.or.cz
/
freebsd
/
src.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tcp: remove check for condition that never happens
[freebsd/src.git]
/
sys
/
crypto
/
libsodium
/
randombytes.c
blob
139b8ab0082c028f336453e2f03881881162f8ea
1
/* This file is in the public domain. */
2
3
#include <sys/cdefs.h>
4
#include <sys/libkern.h>
5
6
#include <sodium/randombytes.h>
7
8
void
9
randombytes_buf
(
void
*
buf
,
size_t
size
)
10
{
11
arc4random_buf
(
buf
,
size
);
12
}