summaryrefslogtreecommitdiffstats
path: root/sys/dev/rndvar.h
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2003-11-03 18:24:28 +0000
committertedu <tedu@openbsd.org>2003-11-03 18:24:28 +0000
commita5084f19cbe09ac68a471b183f925ed2e83ea4a7 (patch)
treec246de370ee54cdd8daff02c6121f9293cd83107 /sys/dev/rndvar.h
parentmention w^x on i386 too (diff)
downloadwireguard-openbsd-a5084f19cbe09ac68a471b183f925ed2e83ea4a7.tar.xz
wireguard-openbsd-a5084f19cbe09ac68a471b183f925ed2e83ea4a7.zip
add arc4random_bytes. input ok mickey@
Diffstat (limited to 'sys/dev/rndvar.h')
-rw-r--r--sys/dev/rndvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/rndvar.h b/sys/dev/rndvar.h
index a5677ccb43d..60305d48fa6 100644
--- a/sys/dev/rndvar.h
+++ b/sys/dev/rndvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rndvar.h,v 1.18 2003/06/02 19:24:22 mickey Exp $ */
+/* $OpenBSD: rndvar.h,v 1.19 2003/11/03 18:24:28 tedu Exp $ */
/*
* Copyright (c) 1996,2000 Michael Shalayeff.
@@ -85,6 +85,7 @@ extern struct rndstats rndstats;
void enqueue_randomness(int, int);
void get_random_bytes(void *, size_t);
+void arc4random_bytes(void *, size_t);
u_int32_t arc4random(void);
#endif /* _KERNEL */